← All native models

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.

object
descriptionRequired

What the tool does, shown to MCP clients and their models.

string
Minimum length
1
destructiveOptional

Whether the tool may delete or overwrite (MCP destructiveHint). Unset means true.

boolean
Default
true
idempotentOptional

Whether calling it again with the same input has no further effect (MCP idempotentHint). Unset means false.

boolean
Default
false
inputSchemaRequired
nameRequired

The tool's name, a Lua identifier, as MCP clients call it.

string
Minimum length
1
openWorldOptional

Whether the tool reaches beyond the site's own data (MCP openWorldHint). Unset means true.

boolean
Default
true
outputSchemaRequired
readOnlyOptional

Whether the tool changes nothing (MCP readOnlyHint). Unset means false.

boolean
Default
false
sourceRequired

Only the fields listed here are accepted.