ToolDefinition.outputSchema
Swift
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift
- ToolDefinition.outputSchema : let outputSchema: JSONValue?
-
What the tool answers with, when that shape is guaranteed. Declared only where it is: MCP requires
structuredContentto conform to this, so a schema the server may break is worse than none at all.