new • Rust AI Agent SDK

new: Create a new MCP call

new

Method

</div>

This is a method of the MCPCall class in the mcp module.

Create a new MCP call

Signature

python
def new(name: impl Into<String>, arguments: serde_json::Value) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField serde_json::Value

No description available.

Returns

ResponseField Self

The result of the operation.