Agent / foldkit-agent-mcp

RequestDefect

interface · packages/agent-mcp/src/diagnostics.ts:26

interface RequestDefect extends Diagnostic {
  readonly _tag: 'RequestDefect'
  readonly method: string
  readonly cause: unknown
}

Handling a request threw (a projection, a resource read); it was answered an internal error.

In the guides

Members

RequestDefect._tag

property · packages/agent-mcp/src/diagnostics.ts:27

readonly _tag: 'RequestDefect'

RequestDefect.method

property · packages/agent-mcp/src/diagnostics.ts:28

readonly method: string

RequestDefect.cause

property · packages/agent-mcp/src/diagnostics.ts:29

readonly cause: unknown