TinyQuery-140M / examples /context-mysql.json
karmx's picture
Release TinyQuery 139.7M from scratch with frozen weights, reproducible Mac evaluations and runtime source
b296ad4 verified
Raw History Blame Contribute Delete
1.37 kB
{
"backend": "mysql",
"project_id": "demo",
"schema": [
"CREATE TABLE customers (id INTEGER PRIMARY KEY, name TEXT, city TEXT, amount REAL);"
],
"tools": [
{
"name": "query",
"description": "Execute a read-only MySQL SELECT query.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string"
}
},
"required": [
"query"
],
"additionalProperties": false
}
},
{
"name": "list_tables",
"description": "List database tables and their columns.",
"inputSchema": {
"type": "object",
"properties": {
"schemas": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [],
"additionalProperties": false
}
},
{
"name": "describe_table",
"description": "Inspect columns and types for one table.",
"inputSchema": {
"type": "object",
"properties": {
"table": {
"type": "string"
}
},
"required": [
"table"
],
"additionalProperties": false
}
}
],
"policy": "Read-only database access. Use provided tools. Ask when required information is missing."
}