execute_api_endpoint
Execute API calls to Yaizu City's smart city services by specifying endpoints, HTTP methods, and parameters for data retrieval and interaction.
Instructions
【非推奨】汎用エンドポイント実行ツール(互換性のために保持) 新しいコードでは execute_yaizu_api() を使用してください。
Args: endpoint_url: APIエンドポイントのURL method: HTTPメソッド(GET, POST, PUT, DELETE) params: クエリパラメータまたはJSONボディ(JSON文字列形式)
Returns: str: APIレスポンス
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": {
"endpoint_url": "<endpoint_url>"
},
"name": "execute_api_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint_url | Yes | ||
| method | No | GET | |
| params | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |