> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Call • Rust AI Agent SDK

> MCPCall: An MCP tool call request.

# MCPCall

> Defined in the [**MCP**](../modules/mcp) module.

<Badge color="orange">Rust AI Agent SDK</Badge>

An MCP tool call request.

## Fields

| Name        | Type                | Description    |
| ----------- | ------------------- | -------------- |
| `name`      | `String`            | Tool name      |
| `arguments` | `serde_json::Value` | Tool arguments |
| `id`        | `String`            | Call ID        |

## Methods

### `new`

```rust theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
fn new(name: impl Into<String>, arguments: serde_json::Value) -> Self
```

Create a new MCP call

**Parameters:**

| Name        | Type                      |
| ----------- | ------------------------- |
| `name`      | `impl Into&lt;String&gt;` |
| `arguments` | `serde_json::Value`       |

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/mcp/mod.rs#L295">
  `praisonai/src/mcp/mod.rs` at line 295
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust MCP" icon="plug" href="/docs/rust/mcp" />

  <Card title="Rust Resources" icon="folder" href="/docs/rust/resources" />
</CardGroup>
