use_connected_tool
Run an approved read tool from your own MCP server by its capability ID and arguments. Requests approval in the Unilytics app first when the tool is set to ask.
Instructions
Runs one read tool of the user's own MCP server (one the user approved as a read), by the capability_id from list_connected_tools, with arguments that fit its input schema. When the user set the tool to ask first, the result is APPROVAL_REQUIRED with a link: the user approves that exact call in the Unilytics app, and the identical call (same project, tool and arguments) then runs once. The result's content is what the user's server returned, labelled as such. 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.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arguments | Yes | ||
| project_id | Yes | ||
| capability_id | Yes |