This commit is contained in:
24
src/mcp_server_cli/templates/example_tool.json
Normal file
24
src/mcp_server_cli/templates/example_tool.json
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"name": "example_tool",
|
||||||
|
"description": "An example tool definition in JSON format",
|
||||||
|
"input_schema": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"message": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The message to process",
|
||||||
|
"required": true
|
||||||
|
},
|
||||||
|
"uppercase": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Convert to uppercase",
|
||||||
|
"default": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["message"]
|
||||||
|
},
|
||||||
|
"annotations": {
|
||||||
|
"read_only_hint": true,
|
||||||
|
"destructive_hint": false
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user