()
| 1140 | } |
| 1141 | |
| 1142 | func sampleInvokeResponse() ToolInvokeResponseRecord { |
| 1143 | return ToolInvokeResponseRecord{ |
| 1144 | ToolID: toolspkg.ToolIDToolInfo, |
| 1145 | Status: "completed", |
| 1146 | DurationMS: 4, |
| 1147 | Result: toolspkg.ToolResult{ |
| 1148 | Preview: "agh__skill_view", |
| 1149 | Structured: json.RawMessage(`{"ok":true}`), |
| 1150 | DurationMS: 4, |
| 1151 | }, |
| 1152 | Events: []contract.ToolCallEventPayload{}, |
| 1153 | } |
| 1154 | } |
| 1155 | |
| 1156 | func toolErrorResponse( |
| 1157 | code toolspkg.ErrorCode, |
no outgoing calls
no test coverage detected