PromptEvalToolMock
A Tool on its mock (1.55.0): every call of the Tool answers result or, set instead, the error error_code; a Tool the Agent version attaches with no mock answers no_handler.
An object with 3 fields.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
error_code | string or null | yes | The Tool error the mock answers, such as deadline_exceeded. |
result | PromptEvalToolMockResult or null | yes | |
tool | ToolName | yes |