Native model
portal_tool
Declare a named portal_tool value and reference it as portal_tool.your_name. Models have no separate platform identity or lifecycle.
Topics: Surfaces
Fields
One MCP tool: its annotations, input and output schemas and Lua.
descriptionRequiredWhat the tool does, shown to MCP clients and their models.
- Minimum length
1
destructiveOptionalWhether the tool may delete or overwrite (MCP destructiveHint). Unset means true.
- Default
true
idempotentOptionalWhether calling it again with the same input has no further effect (MCP idempotentHint). Unset means false.
- Default
false
inputSchemaRequirednameRequiredThe tool's name, a Lua identifier, as MCP clients call it.
- Minimum length
1
openWorldOptionalWhether the tool reaches beyond the site's own data (MCP openWorldHint). Unset means true.
- Default
true
outputSchemaRequiredreadOnlyOptionalWhether the tool changes nothing (MCP readOnlyHint). Unset means false.
- Default
false
sourceRequiredOnly the fields listed here are accepted.