{
"error_message": "request/body/general_tools/0/type must be equal to one of the allowed values: end_call, request/body/general_tools/0 must have required property 'transfer_destination', request/body/general_tools/0 must have required property 'cal_api_key', request/body/general_tools/0 must have required property 'cal_api_key', request/body/general_tools/0 must have required property 'agent_id', request/body/general_tools/0/type must be equal to one of the allowed values: press_digit, request/body/general_tools/0 must have required property 'sms_content', request/body/general_tools/0/parameters must have required property 'type', request/body/general_tools/0 must have required property 'variables', request/body/general_tools/0/type must be equal to one of the allowed values: mcp, request/body/general_tools/0 must match exactly one schema in oneOf"
}
I am just creating function with my api why this error is there
s
shahretell
08/26/2025, 2:51 PM
hi @ashir_shaikh The error you're seeing indicates that your general_tools configuration doesn't match any of the allowed tool types. Based on the documentation, the error suggests you're trying to create a custom function but the type field doesn't match the expected values.