MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / tool-call-contract.test.ts

File tool-call-contract.test.ts

e2e/scenarios/tool-call-contract.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Cross-target: the dynamic tool-call contract over MCP — the exact envelope
2// an agent sees when it calls a tool, misaddresses one, or has its approval
3// declined. The invoke path resolves several storage reads per call (tool row,
4// policy rules, connection row, credentials, integration row); this pins the

Callers

nothing calls this directly

Calls 15

scenarioFunction · 0.90
serveOAuthTestServerFunction · 0.90
composePluginApiFunction · 0.85
widgetsSpecFunction · 0.85
invokeEnvelopeFunction · 0.85
issuesSpecFunction · 0.85
toStringMethod · 0.80
completeMethod · 0.80
callMethod · 0.80
execMethod · 0.80
serveUpstreamFunction · 0.70
uniqueFunction · 0.70

Tested by

no test coverage detected