AgentHookConfig
Destination and delivery settings shared by lifecycle event hooks and LLM-callable external tools.
Relative hook path. For tool_backend lifecycle hooks use {client}/hooks/{endpoint}; it is resolved below the client-tools /clients/ base.
Delivery backend. n8n calls the configured n8n host; tool_backend calls the client-tools service.
Possible values: [n8n, tool_backend]
n8ntool_name object
LLM tool name. Used only when this configuration appears in hook_tools.
- string
- null
Reload lead and contact context after a successful lifecycle hook, for synchronous handlers that mutate them.
falsellm_description object
Instructions shown to the LLM for an external tool. Used only in hook_tools.
- string
- null
Whether an external tool returns later through the asynchronous call-result callback.
falseMaximum wait for an asynchronous tool result, in seconds.
600{
"webhook_url": "string",
"backend_type": "n8n",
"tool_name": "string",
"refresh_ctx_after": false,
"llm_description": "string",
"wait_for_results_async": false,
"wait_for_results_async_timeout_seconds": 600
}