set_pin
Pin or unpin an indexed Codex task to manage its visibility in the local task history used for decision support.
Instructions
Pin or unpin an indexed historical Codex task.
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": {
"thread_id": "<thread_id>",
"pinned": "<pinned>",
"workspace": "<workspace>"
},
"name": "set_pin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pinned | Yes | ||
| thread_id | Yes | ||
| workspace | Yes | Absolute workspace path from Codex task metadata. | |
| global_scope | No | Operate across known workspaces only when explicitly true. |