create_action_item
Create a new action item for an issue to track remediation work, with optional SQL commands and configuration changes.
Instructions
Create a new action item for an issue
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": {
"issue_id": "<issue_id>",
"title": "<title>"
},
"name": "create_action_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debug | No | Enable verbose debug logs | |
| title | Yes | Action item title | |
| org_id | No | Organization ID. Optional with a per-organization token (uses the stored org); REQUIRED with a global token, which can reach every organization the user belongs to and will not assume one. Use orgs_list / `pgai orgs` to discover valid values. | |
| configs | No | Configuration parameter changes | |
| issue_id | Yes | Issue ID (UUID) | |
| sql_action | No | SQL command to execute, e.g. 'DROP INDEX CONCURRENTLY idx_unused;' | |
| description | No | Detailed description |