Test Webhook Tool doesnt copy variables
# support
v
Suggestion: Check that your tool schema explicitly defines each variable with a default value. For example, your schema should look like this:
Copy code
json
{
  "name": "your_tool",
  "parameters": {
    "type": "object",
    "properties": {
      "call_subject": { "type": "string", "default": "Default subject" },
      "phone_number": { "type": "string", "default": "+1234567890" },
      "customer_name": { "type": "string", "default": "John Doe" },
      "preferred_time": { "type": "string", "default": "09:00" }
    },
    "required": ["call_subject", "phone_number", "customer_name", "preferred_time"]
  }
}
After updating your schema, refresh the tool in the dashboard and try the test webhook again to ensure default values are detected and copied properly. For more details, see the [custom tools troubleshooting guide](https://docs.vapi.ai/tools/custom-tools-troubleshooting#validate-json-format). Source: - [Custom tools troubleshooting](https://docs.vapi.ai/tools/custom-tools-troubleshooting#validate-json-format)
c
Hi there, Our team is currently working on this issue. In the meantime, please note that the parameters may temporarily take on the values of other default fields defined within your tool configuration. We’ll share an update once a fix is deployed. Best, Kyle Vapi Support
3 Views