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, anddefault
explicitly. - Prefer simple primitives and flat objects; avoid deeply nested/ambiguous unions.
- Use
description
fields to guide the model toward correct argument shapes.