( _args: string, context: ToolUseContext, )
| 78 | } |
| 79 | |
| 80 | export async function call( |
| 81 | _args: string, |
| 82 | context: ToolUseContext, |
| 83 | ): Promise<{ type: 'text'; value: string }> { |
| 84 | const data = await collectContextData(context) |
| 85 | return { |
| 86 | type: 'text' as const, |
| 87 | value: formatContextAsMarkdownTable(data), |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | function formatContextAsMarkdownTable(data: ContextData): string { |
| 92 | const { |
nothing calls this directly
no test coverage detected