feishu_call_api
Calls any Feishu Open Platform API when built-in tools do not cover your use case, automatically handling authentication tokens for direct endpoint requests.
Instructions
通用飞书 API 调用工具。当封装的工具不满足需求时,用这个直接调用任意飞书开放平台接口。 会自动处理认证 token。 参考文档: https://open.feishu.cn/document
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": {
"method": "<method>",
"path": "<path>"
},
"name": "feishu_call_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | 请求体(GET 请求时会作为 query params) | |
| path | Yes | API 路径,如 /docx/v1/documents | |
| method | Yes | HTTP 方法 |