Files
openrouter-python-sdk-retry…/docs/components/mcpservertool.mdx
T

20 lines
4.1 KiB
Plaintext

---
title: "McpServerTool"
---
MCP (Model Context Protocol) tool configuration
## Fields
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| `allowed_tools` | [OptionalNullable[components.AllowedToolsUnion]](../components/allowedtoolsunion.mdx) | :heavy_minus_sign: | N/A |
| `authorization` | *Optional[str]* | :heavy_minus_sign: | N/A |
| `connector_id` | [Optional[components.ConnectorID]](../components/connectorid.mdx) | :heavy_minus_sign: | N/A |
| `headers` | Dict[str, *str*] | :heavy_minus_sign: | N/A |
| `require_approval` | [OptionalNullable[components.RequireApprovalUnion]](../components/requireapprovalunion.mdx) | :heavy_minus_sign: | N/A |
| `server_description` | *Optional[str]* | :heavy_minus_sign: | N/A |
| `server_label` | *str* | :heavy_check_mark: | N/A |
| `server_url` | *Optional[str]* | :heavy_minus_sign: | N/A |
| `type` | [components.McpServerToolType](../components/mcpservertooltype.mdx) | :heavy_check_mark: | N/A |