run_query
Run read-only SQL queries on a job database for ad-hoc pattern analysis. Use SELECT/WITH statements to analyze job data, skills, and projects.
Instructions
Run a READ-ONLY SQL query against the job DB for ad-hoc pattern analysis.
Only a single SELECT/WITH statement is permitted (enforced on a read-only connection). Handy tables: jobs, job_skills(job_id, skill), skills_profile, pending_projects, skill_flags. Example: SELECT skill, COUNT(*) n FROM job_skills GROUP BY skill ORDER BY n DESC
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sql": "<sql>"
},
"name": "run_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |