file_comment_add
Adds a comment to a file or folder so visible users and the owner are notified. Use it to share plain-text feedback or notes directly on stored items.
Instructions
Comment on a file or folder. Everyone who can see the item reads it and its owner is told; needs the account's comments.write and the API key's comments:rw.
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>",
"text": "<text>"
},
"name": "file_comment_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | adapter:// path of the file or folder | |
| text | Yes | the comment, plain text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | the operation's JSON answer - the body its REST twin under /api/ai answers (an object) | |
| status | Yes |