(input: {
readonly role: string;
readonly integration: string;
readonly message: string;
readonly candidates: readonly string[];
})
| 921 | * carries the same three facts for the same reason. |
| 922 | */ |
| 923 | const bindingUnresolvedResult = (input: { |
| 924 | readonly role: string; |
| 925 | readonly integration: string; |
| 926 | readonly message: string; |
| 927 | readonly candidates: readonly string[]; |
| 928 | }): McpToolResult => ({ |
| 929 | content: [ |
| 930 | { |
| 931 | type: "text", |
| 932 | text: |
| 933 | input.candidates.length > 0 |
| 934 | ? `${input.message} Choose one of ${input.candidates.join(", ")}.` |
| 935 | : input.message, |
| 936 | }, |
| 937 | ], |
| 938 | structuredContent: { |
| 939 | status: "error", |
| 940 | error: "binding_unresolved", |
| 941 | role: input.role, |
| 942 | integration: input.integration, |
| 943 | candidates: input.candidates, |
| 944 | }, |
| 945 | isError: true, |
| 946 | }); |
| 947 | |
| 948 | const renderedInAppResult = (input: { |
| 949 | readonly code: string; |
no outgoing calls
no test coverage detected