gc_directive
Manage behavioral directives using @always/@never/@stop/@pin/@until to add, remove, deactivate, reactivate, list, or inject rules scoped to agents or globally.
Instructions
Manage behavioral directives using the @always/@never/@stop/@pin/@until vocabulary. Directives are injected into agent context automatically. Scoped to specific agents or global (*). Actions: "add" — create, "remove" — hard delete by ID (confirm: true required for pinned), "deactivate" — soft disable (can reactivate later), "reactivate" — re-enable a deactivated directive, "list" — show active, "inject" — formatted for context injection.
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": {
"action": "<action>"
},
"name": "gc_directive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Directive ID (for remove/deactivate/reactivate) | |
| query | No | Similarity query for inject (optional) | |
| scope | No | Agent scope: * for all, or agent name(s) comma-separated | |
| action | Yes | Action to perform | |
| source | No | Where this directive came from | |
| confirm | No | Required for remove/deactivate of pinned directives | |
| content | No | Directive text (for add) | |
| expires_at | No | ISO date for @until directives | |
| persistence | No | Persistence level: always, pin, never, stop, remember, until |