MCPcopy
hub / github.com/github/github-mcp-server / uiSubmitted

Function uiSubmitted

pkg/github/ui_capability.go:40–43  ·  view source on GitHub ↗

uiSubmitted reports whether the call is itself an MCP App form submission. The form re-invokes its tool with _ui_submitted=true; such calls must execute rather than re-render the form.

(args map[string]any)

Source from the content-addressed store, hash-verified

38// The form re-invokes its tool with _ui_submitted=true; such calls must execute
39// rather than re-render the form.
40func uiSubmitted(args map[string]any) bool {
41 submitted, _ := OptionalParam[bool](args, "_ui_submitted")
42 return submitted
43}
44
45// hasNonFormParams reports whether the call carries any parameter the tool's MCP
46// App form cannot represent (anything outside formParams). Such calls must

Callers 1

shouldDeferToFormFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected