use_connected_tool_write
Run a connected MCP server's write or send action by capability_id, requiring user approval for each exact call and preventing duplicate sends.
Instructions
Runs one tool of the user's own MCP server that can change data or send something, by the capability_id from list_connected_tools. Every call needs the user's approval of that exact call: the first call returns APPROVAL_REQUIRED with a link to the Unilytics app, and after the user approves it the identical call (same project, tool and arguments) runs once. Within 10 minutes a repeat of an identical call returns the first call's outcome instead of sending it again; later, an identical call needs a new approval. While an identical call's outcome is unknown, it isn't sent again until the user resolves it in the app. idempotency_key (optional) names one operation across calls. Experimental. 2 credits when the call reaches the server; refusals, approvals and repeats are free.
Args:
project_id: The client project (from list_projects).
capability_id: The tool's capability_id from list_connected_tools.
arguments: The tool's arguments, as its input schema describes.
idempotency_key: Optional, 8–128 letters, digits, '.', '_', ':' or '-': one operation's name.
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": {
"project_id": "<project_id>",
"capability_id": "<capability_id>",
"arguments": "<arguments>"
},
"name": "use_connected_tool_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arguments | Yes | ||
| project_id | Yes | ||
| capability_id | Yes | ||
| idempotency_key | No |