We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isError
1 parent e60c16e commit a7f9568Copy full SHA for a7f9568
packages/mcp/src/sf-mcp-server.ts
@@ -144,7 +144,13 @@ export class SfMcpServer extends McpServer implements ToolMethodSignatures {
144
this.telemetry?.sendEvent('TOOL_CALLED', {
145
name,
146
runtimeMs,
147
- isError: result.isError,
+ // `isError`:
148
+ // Whether the tool call ended in an error.
149
+ //
150
+ // If not set, this is assumed to be false (the call was successful).
151
152
+ // https://modelcontextprotocol.io/specification/2025-06-18/schema#calltoolresult
153
+ isError: result.isError ?? false,
154
});
155
156
return result;
0 commit comments