# X_MCP_CONFIRMATION_PENDING

## Means

a gated MCP tool call waits for a person to approve it

## Typical cause

the tool is in mcpConfirmations({ tools }) and no approved, unexpired confirmation covers this actor, tool and input

## Fix

`confirmations({ id, decision: 'view' })` — as a person, with the id this answer carries; then `confirmations({ id, decision: 'approve', arguments })` with exactly the arguments `view` returned, and the agent repeats the same tools/call before it expires

[MCP and AI](/error-codes#mcp-and-ai)
