Function
mcpToolFailure
(code: string, message: string, details?: unknown)
Source from the content-addressed store, hash-verified
| 352 | const McpGetServerOutputStandardSchema = schemaToStaticToolSchema(McpGetServerOutputSchema); |
| 353 | |
| 354 | const mcpToolFailure = (code: string, message: string, details?: unknown) => |
| 355 | ToolResult.fail({ |
| 356 | code, |
| 357 | message, |
| 358 | ...(details === undefined ? {} : { details }), |
| 359 | }); |
| 360 | |
| 361 | const mcpInvocationAuthFailure = (input: { |
| 362 | readonly status: 401 | 403; |
Tested by
no test coverage detected