Kind: Class
Source: atloria-monorepo/libs/parser-core/src/techdocs/mcp-toolset.ts
Methods
| Method | Signature | Returns |
|---|---|---|
toolDefinitions | toolDefinitions() | McpToolDef[] |
call | call(name: string, args: Record<string, any>) | Promise<unknown> |
searchDocs | searchDocs(query: string, limit: undefined) | DocSearchHit[] |
readPage | readPage(path: string) | `{ title: string; path: string; markdown: string } |
listPages | listPages(section: string) | Array<{ title: string; path: string; section?: string }> |
getEntity | getEntity(nameOrId: string) | `{ entity: Entity; relationships: Array<{ direction: 'out' |
searchEntities | searchEntities(query: string, kind: string) | Array<{ id: string; name: string; type: string }> |
listEndpoints | listEndpoints(tag: string) | Array<{ method: string; path: string; summary: string }> |
askQuestion | askQuestion(question: string) | Promise<{ answer: string; citations: string[] }> |
callOperation | callOperation(args: Record<string, any>) | Promise<unknown> |
Where it refuses work
DocsMcpToolsetstops the work with an early return when!q.DocsMcpToolsetstops the work with an early return when!e.DocsMcpToolsetstops the work with an early return when!this.askFn.DocsMcpToolsetstops the work with an early return when!this.execFn.DocsMcpToolsetstops the work with an early return when!method || !path.DocsMcpToolsetstops the work with an early return wheni < 0.
Was this page helpful?