Template:Tool: Difference between revisions
From Public AI Wiki
No edit summary |
No edit summary |
||
| Line 10: | Line 10: | ||
|ToolType = String | |ToolType = String | ||
}} | }} | ||
<templatedata> | |||
{ | |||
"description": "Registers an MCP tool in the shared tools database.", | |||
"params": { | |||
"ToolName": { | |||
"label": "Tool name", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"Description": { | |||
"label": "Description", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"RepoURL": { | |||
"label": "Repository URL", | |||
"type": "string" | |||
}, | |||
"Author": { | |||
"label": "Author", | |||
"type": "string" | |||
}, | |||
"ToolType": { | |||
"label": "Tool type", | |||
"type": "string" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
{{#cargo_store: | {{#cargo_store: | ||
| Line 20: | Line 51: | ||
|ToolType = {{{ToolType|}}} | |ToolType = {{{ToolType|}}} | ||
}} | }} | ||
'''Tool:''' {{{ToolName}}} | |||
'''Description:''' {{{Description}}} | |||
</includeonly> | </includeonly> | ||
Revision as of 05:00, 22 December 2025
Template for storing MCP tools using Cargo.
This template defines the table "Tools". View table.
Registers an MCP tool in the shared tools database.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Tool name | ToolName | no description | String | required |
| Description | Description | no description | String | required |
| Repository URL | RepoURL | no description | String | optional |
| Author | Author | no description | String | optional |
| Tool type | ToolType | no description | String | optional |