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)
| 38 | // The form re-invokes its tool with _ui_submitted=true; such calls must execute |
| 39 | // rather than re-render the form. |
| 40 | func 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 |