Skip to main content

CallToolRequestParam

Type Alias CallToolRequestParam 

Source
pub type CallToolRequestParam = CallToolRequestParams;
👎Deprecated since 0.13.0:

Use CallToolRequestParams instead

Expand description

Deprecated: Use CallToolRequestParams instead (SEP-1319 compliance).

Aliased Type§

pub struct CallToolRequestParam {
    pub meta: Option<Meta>,
    pub name: Cow<'static, str>,
    pub arguments: Option<Map<String, Value>>,
    pub task: Option<Map<String, Value>>,
}

Fields§

§meta: Option<Meta>

Protocol-level metadata for this request (SEP-1319)

§name: Cow<'static, str>

The name of the tool to call

§arguments: Option<Map<String, Value>>

Arguments to pass to the tool (must match the tool’s input schema)

§task: Option<Map<String, Value>>

Task metadata for async task management (SEP-1319)