(content: string)
| 1331 | } |
| 1332 | |
| 1333 | function extractToolsAccessFromContent(content: string): string[] { |
| 1334 | const accessMatch = content.match(/access\s*:\s*\[\s*([^\]]+)\s*\]/) |
| 1335 | if (!accessMatch) return [] |
| 1336 | return [...accessMatch[1].matchAll(/['"]([^'"]+)['"]/g)].map((m) => m[1]) |
| 1337 | } |
| 1338 | |
| 1339 | /** |
| 1340 | * Get the tool prefix (service name) from a tool name. |
no outgoing calls
no test coverage detected