MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / actionRejectedResult

Function actionRejectedResult

packages/hosts/mcp/src/tool-server.ts:899–903  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

897 * call. Names the contract rather than just refusing, since the reader is
898 * either a confused iframe or someone probing the app channel by hand. */
899const actionRejectedResult = (): McpToolResult => ({
900 content: [{ type: "text", text: TOOL_CALL_CONTRACT_MESSAGE }],
901 structuredContent: { status: "error", error: "invalid_action_code" },
902 isError: true,
903});
904
905/**
906 * The artifact whose bindings a call must be resolved through is missing or

Callers 1

executeCodeFromAppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected