revoke_fsm_hook
Revoke an FSM hook to stop it firing on thread state transitions; the hook is disabled, marked revoked, and its signing secret dropped. This is final—register a new hook to restore the behavior.
Instructions
Revoke an FSM hook so it stops firing on thread state transitions. The hook is disabled and stamped with revoked_at rather than deleted, it no longer appears in list_fsm_hooks, and its in-memory signing secret is dropped. Revoking is final: a hook that is unknown, in another workspace or already revoked returns not found, so register a new one with register_fsm_hook to restore the behavior. Returns the revoked hook (id, label, from_state, to_state, handler_kind, handler_target, enabled, created_at, revoked_at). Requires workspace:write.
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>",
"hook_id": "<hook_id>"
},
"name": "revoke_fsm_hook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hook_id | Yes | UUID of the FSM hook to revoke, from register_fsm_hook or list_fsm_hooks. | |
| workspace_id | Yes | UUID of the workspace that owns the hook. It must be the caller's own workspace. |