ToolTestResult
The answer of a Tool test (1.49.0): one real, signed request through the egress guard, with its status and measurements. The test writes an Audit event and no Call event.
An object with 13 fields.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
attempts | integer | yes | Requests sent: 1, up to 3 with the retries of an idempotent Tool, or 0 when refused before sending. |
elapsed_ms | integer | yes | From the first resolution to the result, a measurement of this request. |
error_code | ToolErrorCode or null | yes | Null when status is ok. |
http_status | integer or null | yes | The status of the last response, or null when none arrived. |
object | "tool_test_result" | yes | |
redirects | integer | yes | Redirects followed. |
response_bytes | integer or null | yes | The body bytes read, at most the response cap; null when no response arrived. |
result | any or null | yes | The result as the model would receive it: the parsed body truncated to 8 KiB, or null on a failure. Content of the customer's own endpoint, returned to the caller of the test only. |
signed | boolean | yes | True when the request carried Vocal-Signature under the Organization's tool signing secret. |
status | ToolCallStatus | yes | |
tested_at | Timestamp | yes | |
tool_id | ToolId | yes | |
tool_revision | integer | yes | The revision that was tested. |
Used by
The operations whose parameters, request body or responses name this shape directly.