Execute Authorized Tool
gateway_execute_toolExecute authorized Microsoft 365 tools found via gateway search, ensuring parameter validation and security policy enforcement.
Instructions
Execute a tool returned by gateway_search_tools with parameters matching its inputSchema. The target tool is rechecked for App Roles, confirmation policy, audit, and Graph scope controls. Invalid parameters return the expected schema. Chinese intents / 中文意图: 执行搜索到的工具, 调用长尾工具, 执行Microsoft 365操作.
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": {
"toolName": "<toolName>"
},
"name": "gateway_execute_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toolName | Yes | Exact authorized tool name. | |
| parameters | No | Arguments matching gateway_get_tool_schema. |