-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtools.yaml
More file actions
52 lines (44 loc) · 1.29 KB
/
tools.yaml
File metadata and controls
52 lines (44 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
kind: sources
name: crdb-source
type: cockroachdb
host: ${COCKROACHDB_HOST}
port: "${COCKROACHDB_PORT:26257}"
database: ${COCKROACHDB_DATABASE}
user: ${COCKROACHDB_USER}
password: ${COCKROACHDB_PASSWORD}
maxRetries: 5
retryBaseDelay: 500ms
readOnlyMode: true
enableWriteMode: false
maxRowLimit: 1000
queryTimeoutSec: 30
queryParams:
sslmode: ${COCKROACHDB_SSLMODE:require}
application_name: cockroachdb-claude-plugin
---
kind: tools
name: cockroachdb-execute-sql
type: cockroachdb-execute-sql
source: crdb-source
description: |
Execute ad-hoc SQL statements against a CockroachDB database.
Use this for any SQL: SELECT queries, DDL statements (CREATE, ALTER, DROP),
and DML statements (INSERT, UPDATE, DELETE).
---
kind: tools
name: cockroachdb-list-schemas
type: cockroachdb-list-schemas
source: crdb-source
description: |
List all schemas in the connected CockroachDB database.
Returns schema names and metadata. Use this as the first step
when exploring an unfamiliar database.
---
kind: tools
name: cockroachdb-list-tables
type: cockroachdb-list-tables
source: crdb-source
description: |
List all tables in a CockroachDB database with detailed schema information
including column names, data types, constraints, and indexes.
Use this to understand table structure before writing queries.