run-hooks
Execute hooks registered for a specific event, such as after completing a task or confirming requirements.
Instructions
Get all hooks matching a specific event type. The AI should call this when an event occurs and execute the matching hooks' instructions. For example, after completing implementation of a task, call run-hooks with event "on-task-completed" to find and execute all relevant hooks.
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": {
"event": "<event>"
},
"name": "run-hooks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | The event that just occurred |