Template:Tool: Difference between revisions

From Public AI Wiki
Jolow (talk | contribs)
No edit summary
No edit summary
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>
<includeonly>
{{#cargo_store:
{{#cargo_store:
Line 51: Line 48:
  |ToolType = {{{ToolType|}}}
  |ToolType = {{{ToolType|}}}
}}
}}
'''Tool:''' {{{ToolName|}}}
'''{{{Description|}}}'''


'''Tool:''' {{
{{#if:{{{RepoURL|}}}|* '''Repository:''' {{{RepoURL|}}}}}
{{#if:{{{Author|}}}|* '''Author:''' {{{Author|}}}}}
{{#if:{{{ToolType|}}}|* '''Type:''' {{{ToolType|}}}}}
</includeonly>

Revision as of 06:10, 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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Tool nameToolName

no description

Stringrequired
DescriptionDescription

no description

Stringrequired
Repository URLRepoURL

no description

Stringoptional
AuthorAuthor

no description

Stringoptional
Tool typeToolType

no description

Stringoptional