Tool
data class Tool(val name: String, val title: String?, val description: String?, val inputSchema: Tool.Input, val outputSchema: Tool.Output?, val annotations: ToolAnnotations?)(source)
Definition for a tool the client can call.
Constructors
Link copied to clipboard
constructor(name: String, title: String?, description: String?, inputSchema: Tool.Input, outputSchema: Tool.Output?, annotations: ToolAnnotations?)
Types
Link copied to clipboard
Link copied to clipboard
Properties
Link copied to clipboard
Optional additional tool information.
Link copied to clipboard
A human-readable description of the tool.
Link copied to clipboard
A JSON object defining the expected parameters for the tool.
Link copied to clipboard
An optional JSON object defining the expected output schema for the tool.