77 lines
2.0 KiB
JSON
77 lines
2.0 KiB
JSON
---
|
|
title: "Simple Tools Config"
|
|
task: ""
|
|
lineage_type: import
|
|
upstream_source: https://github.com/mims-harvard/ToolUniverse/blob/e2520a96/skills/devtu-create-tool/templates/simple_tools_config.json
|
|
upstream_sha: e2520a96
|
|
imported_at: 2026-06-26
|
|
prompt_class: prompt
|
|
upstream_changes: accepted
|
|
author: upstream
|
|
validated: false
|
|
---
|
|
|
|
[
|
|
{
|
|
"name": "example_simple_tool",
|
|
"type": "SimpleToolTemplate",
|
|
"description": "Brief description of what this tool does. Include: purpose, inputs, outputs, and use cases. Example: Search 'aspirin' to find drug information.",
|
|
"parameter": {
|
|
"type": "object",
|
|
"properties": {
|
|
"param1": {
|
|
"type": "string",
|
|
"description": "First parameter description with example values"
|
|
},
|
|
"param2": {
|
|
"type": "string",
|
|
"description": "Optional second parameter. Default: 'default_value'",
|
|
"default": "default_value"
|
|
}
|
|
},
|
|
"required": ["param1"]
|
|
},
|
|
"return_schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"status": {
|
|
"type": "string",
|
|
"description": "Request status: 'success' or 'error'"
|
|
},
|
|
"data": {
|
|
"type": "object",
|
|
"description": "Response data from the API",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"description": "Unique identifier"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Display name"
|
|
},
|
|
"value": {
|
|
"type": ["string", "number", "null"],
|
|
"description": "Data value (can be string, number, or null)"
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"error": {
|
|
"type": "string",
|
|
"description": "Error message if status is 'error'"
|
|
}
|
|
}
|
|
},
|
|
"test_examples": [
|
|
{
|
|
"param1": "example_value"
|
|
},
|
|
{
|
|
"param1": "another_example",
|
|
"param2": "custom_value"
|
|
}
|
|
]
|
|
}
|
|
]
|