(input: {
readonly role: string;
readonly integration: string;
readonly message: string;
readonly candidates: readonly string[];
})
| 940 | * carries the same three facts for the same reason. |
| 941 | */ |
| 942 | const bindingUnresolvedResult = (input: { |
| 943 | readonly role: string; |
| 944 | readonly integration: string; |
| 945 | readonly message: string; |
| 946 | readonly candidates: readonly string[]; |
| 947 | }): McpToolResult => ({ |
| 948 | content: [ |
| 949 | { |
| 950 | type: "text", |
| 951 | text: |
| 952 | input.candidates.length > 0 |
| 953 | ? `${input.message} Choose one of ${input.candidates.join(", ")}.` |
| 954 | : input.message, |
| 955 | }, |
| 956 | ], |
| 957 | structuredContent: { |
| 958 | status: "error", |
| 959 | error: "binding_unresolved", |
| 960 | role: input.role, |
| 961 | integration: input.integration, |
| 962 | candidates: input.candidates, |
| 963 | }, |
| 964 | isError: true, |
| 965 | }); |
| 966 | |
| 967 | const renderedInAppResult = (input: { |
| 968 | readonly code: string; |
no outgoing calls
no test coverage detected