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