|
1 | | -import type { GoogleBigQueryQueryParams, GoogleBigQueryQueryResponse } from '@/tools/google_bigquery/types' |
| 1 | +import type { |
| 2 | + GoogleBigQueryQueryParams, |
| 3 | + GoogleBigQueryQueryResponse, |
| 4 | +} from '@/tools/google_bigquery/types' |
2 | 5 | import type { ToolConfig } from '@/tools/types' |
3 | 6 |
|
4 | | -export const googleBigQueryQueryTool: ToolConfig<GoogleBigQueryQueryParams, GoogleBigQueryQueryResponse> = { |
| 7 | +export const googleBigQueryQueryTool: ToolConfig< |
| 8 | + GoogleBigQueryQueryParams, |
| 9 | + GoogleBigQueryQueryResponse |
| 10 | +> = { |
5 | 11 | id: 'google_bigquery_query', |
6 | 12 | name: 'BigQuery Run Query', |
7 | 13 | description: 'Run a SQL query against Google BigQuery and return the results', |
@@ -120,7 +126,11 @@ export const googleBigQueryQueryTool: ToolConfig<GoogleBigQueryQueryParams, Goog |
120 | 126 | jobComplete: { type: 'boolean', description: 'Whether the query completed within the timeout' }, |
121 | 127 | totalBytesProcessed: { type: 'string', description: 'Total bytes processed by the query' }, |
122 | 128 | cacheHit: { type: 'boolean', description: 'Whether the query result was served from cache' }, |
123 | | - jobReference: { type: 'json', description: 'Job reference with projectId, jobId, and location (useful when jobComplete is false)' }, |
| 129 | + jobReference: { |
| 130 | + type: 'json', |
| 131 | + description: |
| 132 | + 'Job reference with projectId, jobId, and location (useful when jobComplete is false)', |
| 133 | + }, |
124 | 134 | pageToken: { type: 'string', description: 'Token for fetching additional result pages' }, |
125 | 135 | }, |
126 | 136 | } |
0 commit comments