Pin or unpin a report
pin_reportPins a report for the person (pinned: true) so it stays at the top of their Reports page in CodeGene, or takes their pin off (pinned: false). A pin is the person's own: nobody else sees it and it changes no one's access. Refused when they already hold the most pins they may.
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": {
"report_id": "<report_id>",
"pinned": "<pinned>"
},
"name": "pin_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pinned | Yes | true to pin, false to unpin. | |
| report_id | Yes | The report (list_reports gives ids). | |
| workspace_id | No | Workspace id from whoami; omit when there is one. |