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

Function actionRejectedResult

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

Source from the content-addressed store, hash-verified

1061 * call. Names the contract rather than just refusing, since the reader is
1062 * either a confused iframe or someone probing the app channel by hand. */
1063const actionRejectedResult = (): McpToolResult => ({
1064 content: [{ type: "text", text: TOOL_CALL_CONTRACT_MESSAGE }],
1065 structuredContent: { status: "error", error: "invalid_action_code" },
1066 isError: true,
1067});
1068
1069/**
1070 * 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