MCP Prompt Argument • Rust AI Agent SDK

MCPPromptArgument: An MCP prompt argument.

MCPPromptArgument

Defined in the MCP module.

Rust AI Agent SDK

An MCP prompt argument.

Fields

NameTypeDescription
nameStringArgument name
descriptionOption<String>Argument description
requiredboolWhether the argument is required

Source

View on GitHub

praisonai/src/mcp/mod.rs at line 399


Related Documentation