()
| 1812 | }, |
| 1813 | inputJSONSchema: tool.inputSchema as Tool['inputJSONSchema'], |
| 1814 | async checkPermissions() { |
| 1815 | return { |
| 1816 | behavior: 'passthrough' as const, |
| 1817 | message: 'MCPTool requires permission.', |
| 1818 | suggestions: [ |
| 1819 | { |
| 1820 | type: 'addRules' as const, |
| 1821 | rules: [ |
| 1822 | { |
| 1823 | toolName: fullyQualifiedName, |
| 1824 | ruleContent: undefined, |
| 1825 | }, |
| 1826 | ], |
| 1827 | behavior: 'allow' as const, |
| 1828 | destination: 'localSettings' as const, |
| 1829 | }, |
| 1830 | ], |
| 1831 | } |
| 1832 | }, |
| 1833 | async call( |
| 1834 | args: Record<string, unknown>, |
| 1835 | context, |
nothing calls this directly
no outgoing calls
no test coverage detected