Test a tool by triggering its webhook with test parameters.
curl --request POST \
--url https://api.zavu.dev/v1/senders/{senderId}/agent/tools/{toolId}/test \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"testParams": {
"order_id": "ORD-12345"
}
}
'{
"scheduled": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Parameters to pass to the tool for testing.
Test scheduled.
curl --request POST \
--url https://api.zavu.dev/v1/senders/{senderId}/agent/tools/{toolId}/test \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"testParams": {
"order_id": "ORD-12345"
}
}
'{
"scheduled": true
}