anon_patch_custom_tools_tool_id
Partially updates a project's custom tool via API key scope, modifying fields such as name, URL, mode, scopes, or passToken. Requires tools:manage permission.
Instructions
更新自定义工具。需 tools:manage 权限。部分更新,校验同创建。 PATCH /api/projects/{id}/custom-tools/{toolId} 项目由当前 API 密钥自动确定,无需传 projectId。
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": {
"path": "<path>",
"body": "<body>"
},
"name": "anon_patch_custom_tools_tool_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| path | Yes |