truthgate_preflight
Assembles task metadata, evidence, and success criteria, then gates execution until approval is granted for external tool use.
Instructions
Compile and gate a task before Hermes uses external tools.
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": {
"task": "<task>"
},
"name": "truthgate_preflight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| context | No | ||
| task_id | No | ||
| evidence_json | No | [] | |
| approval_token | No | ||
| success_criteria_json | No | [] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||