drive_comment
Add a comment to a file in a shared workspace. Optionally specify line numbers to comment on specific code lines.
Instructions
Add a comment to a file.
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": {
"workspace_id": "<workspace_id>",
"file_id": "<file_id>",
"body": "<body>"
},
"name": "drive_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Comment text | |
| file_id | Yes | File ID to comment on | |
| line_end | No | End line number (optional) | |
| line_start | No | Start line number (optional) | |
| workspace_id | Yes | Workspace ID |