Run an app's code on a stored event
anyhook_code_testRun the saved handler now and return its logs, return value and duration: on a stored event (the latest when event_id is omitted) or on a body you give. Counts as a run. Nothing is delivered, but whatever the code itself sends does happen.
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": {
"appSlug": "<appSlug>"
},
"name": "anyhook_code_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Run on this JSON body instead of a stored event. | |
| appSlug | Yes | ||
| event_id | No | Run on this stored event. Omit for the app's latest event. |