ITM
09/19/2025, 7:39 PM{
"name": "checkArea",
"type": "tool",
"metadata": {
"position": {
"x": 430.8772765739572,
"y": -305.43863828697863
}
},
"tool": {
"type": "apiRequest",
"function": {
"name": "api_request_tool",
"description": "API request tool",
"parameters": {
"type": "object",
"properties": {},
"required": []
}
},
"server": null,
"messages": [
{
"type": "request-start",
"content": "Checking area",
"blocking": false
}
],
"name": "checkArea",
"url": "https://api:3000",
"method": "GET",
"credentialId": "a37ad038-eb40-4d6a-b82b-e082eba08f16",
"variableExtractionPlan": {
"schema": {
"type": "object",
"required": [
"call_out_fee",
"area_coverage"
],
"properties": {
"call_out_fee": {
"type": "number",
"description": "Callout fee in pounds"
},
"area_coverage": {
"type": "boolean",
"description": "Whether area is covered"
}
}
},
"aliases": []
}
}
},
How can I check the http status returned from this endpoint?ITM
09/19/2025, 7:39 PMITM
09/19/2025, 7:43 PM{
"status": "Success",
"message": "Request completed successfully",
"data": {
"street": "123 Main St",
"city": "New York",
"zip": "10001"
}
}Tay
09/20/2025, 12:22 PMChiranjeet Mishra
09/23/2025, 7:09 PMstatus can be accepted as a result for the tool call, but the entire object must be in a single line without line breaks. It seems like your tool call response format isn’t quite right. You’ll need to adjust it to match the expected format. You can check out the documentation and snippet below for the correct details. Hope this helps!
Documentation Link:
Tool Call Response Format:
{
"results": [
{
"toolCallId": "X",
"result": "Y"
}
]
}