0002_seed_example_tools.sqlβ’2.3 kB
-- Seed example tools for demonstration
-- All tools use the same universal "toolrunner" container
-- Echo tool - Simple message echo
INSERT INTO tools (name, description, input_schema, container_class, instance_type) VALUES (
'echo_message',
'Echoes back any message you send. Useful for testing the container invocation pipeline.',
'{
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The message to echo back"
}
},
"required": ["message"]
}',
'toolrunner',
'lite'
);
-- Why are we yelling tool - Uppercase converter
INSERT INTO tools (name, description, input_schema, container_class, instance_type) VALUES (
'why_are_we_yelling',
'Converts lowercase text to UPPERCASE. Perfect for when you need to EMPHASIZE something!',
'{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The text to convert to uppercase"
}
},
"required": ["text"]
}',
'toolrunner',
'lite'
);
-- JQ tool - JSON query processor
INSERT INTO tools (name, description, input_schema, container_class, instance_type) VALUES (
'query_json',
'Processes JSON data using jq filter syntax. Allows you to filter, transform, and extract data from complex JSON structures.',
'{
"type": "object",
"properties": {
"filter": {
"type": "string",
"description": "The jq filter to apply (e.g., ''.users[0].name'', ''.items[] | select(.price > 10)'')"
},
"data": {
"type": "object",
"description": "The JSON data to process"
}
},
"required": ["filter", "data"]
}',
'toolrunner',
'lite'
);
-- Git clone + summarize README tool
INSERT INTO tools (name, description, input_schema, container_class, instance_type) VALUES (
'summarize_repo_readme',
'Clones a GitHub repository and returns a summary of its README file, including the title, first 50 lines of content, and statistics.',
'{
"type": "object",
"properties": {
"repo_url": {
"type": "string",
"description": "The Git repository URL to clone (e.g., ''https://github.com/user/repo.git'' or ''https://github.com/user/repo'')"
}
},
"required": ["repo_url"]
}',
'toolrunner',
'lite'
);