Pin endpoint
pin_endpointPin (pinned:true, the default) or unpin one enabled endpoint so it appears as its own typed tool on every MCP connection of this workspace instead of going through execute. Use for endpoints you call repeatedly. Each pin adds its schema to every session's context, so the first pin requires acknowledge_context_cost:true. Persistent and workspace-wide; does not enable or call the endpoint.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>"
},
"name": "pin_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Exact provider/endpoint slug. | |
| pinned | No | True to pin (default), false to unpin. | |
| acknowledge_context_cost | No | Required once: pinned schemas use model context on every connection. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | ||
| pinned | No | ||
| pinned_count | No |