file_comments
Retrieve all comments on a file or folder, including author, body, and timestamp, to review discussions attached to that item.
Instructions
The comments on a file or folder: {comments: [{id, user_id, body, created_at, …}], node_id}. Everyone who can see the item reads them.
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>"
},
"name": "file_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | adapter://path |
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 |