set_file_category
Moves a file to a specified category using its file ID and category ID, or removes it from any category by setting category ID to 0.
Instructions
Move a file to a category.
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": {
"file_id": "<file_id>",
"category_id": "<category_id>"
},
"name": "set_file_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| category_id | Yes | 0 for no category |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |