Execute a Flexpa capability
execute_toolInvoke a local tool (kind=tool) found with search_tools using its input schema. Entries with kind=mcp_server or mcp_tool return guidance for the direct provider connection. Call indexed tools by their original toolName on that server after checking its current tools/list. A care_service entry has no MCP server and returns its website for the patient to use directly. Entries with kind=local_resource return repository and usage guidance; they cannot run through this server. Check tool annotations before execution; some tools can change or share data.
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": {
"name": "<name>"
},
"name": "execute_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| arguments | No |