(input: {
readonly role: string;
readonly integration: string;
readonly message: string;
readonly candidates: readonly string[];
})
| 959 | * carries the same three facts for the same reason. |
| 960 | */ |
| 961 | const bindingUnresolvedResult = (input: { |
| 962 | readonly role: string; |
| 963 | readonly integration: string; |
| 964 | readonly message: string; |
| 965 | readonly candidates: readonly string[]; |
| 966 | }): McpToolResult => ({ |
| 967 | content: [ |
| 968 | { |
| 969 | type: "text", |
| 970 | text: |
| 971 | input.candidates.length > 0 |
| 972 | ? `${input.message} Choose one of ${input.candidates.join(", ")}.` |
| 973 | : input.message, |
| 974 | }, |
| 975 | ], |
| 976 | structuredContent: { |
| 977 | status: "error", |
| 978 | error: "binding_unresolved", |
| 979 | role: input.role, |
| 980 | integration: input.integration, |
| 981 | candidates: input.candidates, |
| 982 | }, |
| 983 | isError: true, |
| 984 | }); |
| 985 | |
| 986 | const renderedInAppResult = (input: { |
| 987 | readonly code: string; |
no outgoing calls
no test coverage detected