{"version":"2.1.328","anchor":"mcp-errors-inside-the-repl-now-expose-toolname-error-and-de","canonical_anchor":"mcp-errors-inside-the-repl-now-expose-toolname-error-and-de","heading":"Failed MCP calls in the REPL now carry the tool name, error and details","tier":"notice","area":"REPL","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/mcp-errors-inside-the-repl-now-expose-toolname-error-and-de","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Failed MCP calls in the REPL now carry the tool name, error and details\n\nErrors from failed MCP calls inside the REPL now include the tool name, the error and parsed details that scripts can read\n\n**What**\n\nThe REPL is the place where Claude can run small scripts. MCP, the Model Context Protocol, is how Claude Code connects to outside tools. When a script in the REPL calls an MCP tool and the call fails, the error it receives now carries more information:\n\n- `toolName`: the tool that was called.\n\n- `error`: the error that came back.\n\n- `detail`: extra details, already turned into a readable object.\n\nThese fields are kept even if the error is wrapped inside another error. Before this change, the error carried only its name.\n\n**Why**\n\nA script can now look at `e.detail` and the other fields to find out why a call failed and react to it, instead of only knowing that it failed.\n\n- Area: REPL\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}