Schema
Domain: Tools & Function Calling
π― Motivation
A formal description of what parameters a function accepts - their names, types, and whether they are required. This structure lets the model fill in arguments correctly.
π Concrete Example
Schema for get_weather: {city: {type: string, description: βCity nameβ, required: True}, unit: {type: string, enum: [C,F], default: C}}.
π Analogy
A form template - Name (required, text), Age (required, number), Email (optional, text). The schema tells the model what fields to fill and what type each value should be.