Template:Tool: Difference between revisions
From Public AI Wiki
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Template for storing MCP tools using Cargo. | Template for storing MCP tools using Cargo. | ||
{{#cargo_declare: | {{#cargo_declare: | ||
_table = Tools | _table = Tools | ||
| Line 10: | Line 9: | ||
|ToolType = String | |ToolType = String | ||
}} | }} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 41: | Line 39: | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
<includeonly> | |||
<div style="border: 1px solid #ddd; padding: 15px; margin-bottom: 20px; border-radius: 5px; background-color: #f9f9f9;"> | |||
=== {{{ToolName|}}} === | |||
'''{{{Description|}}}''' | |||
{{#if:{{{RepoURL|}}}|* '''Repository:''' {{{RepoURL|}}}}} | |||
{{#if:{{{Author|}}}|* '''Author:''' {{{Author|}}}}} | |||
{{#if:{{{ToolType|}}}|* '''Type:''' {{{ToolType|}}}}} | |||
< | </div> | ||
{{#cargo_store: | {{#cargo_store: | ||
_table = Tools | _table = Tools | ||
| Line 51: | Line 59: | ||
|ToolType = {{{ToolType|}}} | |ToolType = {{{ToolType|}}} | ||
}} | }} | ||
</includeonly> | |||
Latest revision as of 06:14, 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 |