MCPTool
Defined in the MCP module.Rust AI Agent SDK An MCP tool definition.
Fields
| Name | Type | Description |
|---|---|---|
name | String | Tool name |
description | String | Tool description |
input_schema | serde_json::Value | Input schema (JSON Schema) |
Methods
new
| Name | Type |
|---|---|
name | impl Into<String> |
description | impl Into<String> |
input_schema
| Name | Type |
|---|---|
schema | serde_json::Value |
Source
View on GitHub
praisonai/src/mcp/mod.rs at line 263
