HTTP status codes
Tool-level status markers
A tool call can return200 OK and still contain no data. Nikiwa tools return their data object on success, or one of these markers:
Recommended handling
1
Check the HTTP status
Handle
401, 404, and 429 before parsing the body.2
Check for a status marker
If the body has
status: "error" or status: "no_data", handle it explicitly.3
Otherwise, use the data
A body with no error or no-data marker is a successful data result.