keep_hook
Keep or reject a hook: verdict is "keep" (default) or "reject", and the last verdict wins. A reject may say why: reason is off_subject, weak_opening, wrong_language, low_quality, already_have or other, and note (up to 280 characters) your own words. Kept hooks come back from list_keeps, across all runs. Free.
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": {
"hook_id": "<hook_id>"
},
"name": "keep_hook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| reason | No | ||
| api_key | No | ||
| hook_id | Yes | ||
| verdict | No | keep |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |