Property InputSchema
InputSchema
JSON Schema (Draft-07 subset) describing the expected input arguments object.
Aligned with MCP naming (inputSchema). Provide this schema when registering the tool.
string InputSchema { get; }
Property Value
Remarks
Recommended schema practices:
- Declare
type,required,enum, ranges, anddefaultexplicitly. - Prefer simple primitives and flat objects; avoid deeply nested/ambiguous unions.
- Use
descriptionfields to guide the model toward correct argument shapes.