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