BUG- API reference tool - Hook for ending call aft...
# support
a
Expected vs Actual Behavior Expected API Reference output: { "type": "tool", "tool": { "type": "endCall" } } Actual buggy output: { "type": "tool", "tool": {} } So what I mean: The tool does not allow to edit section "NON-EDITEABLE" example: "tool": {NON-EDITEABLE} Just try for yourself, select "endcall" in the appropriate section (ToolCallHookAction) and the space between the {} stays empty.
v
To configure the
endCall
tool correctly, your output should look like this:
Copy code
json
{
  "type": "tool",
  "tool": {
    "type": "endCall"
  }
}
This matches the expected format shown in the [Vapi documentation](https://docs.vapi.ai/tools/default-tools). If the tool is generating an empty object, please verify your configuration or report this as a bug to support for further assistance. Source: - [Default Tools | Vapi Documentation](https://docs.vapi.ai/tools/default-tools)
c
where exactly are you trying to edit the assistant hook configuration? could you please provide a screenshot