← All types
Ob Object

PortalSiteTool

One MCP tool of a site.

Fields

name

String!Non-null

Name of the MCP tool.

What the tool does, as shown to MCP clients.

Whether the tool only reads; false when unset.

Whether the tool may destroy data; true when unset.

Whether repeating a call has no further effect; false when unset.

Whether the tool reaches beyond the platform; true when unset.

JSON Schema object of the tool's arguments.

JSON Schema object of the tool's result.

source

String!Non-null

The tool's Lua; exports.handler runs a call.

Referenced by (1)
Exact type SDL
"""One MCP tool of a site."""
type PortalSiteTool {
  """Name of the MCP tool."""
  name: String!
  """What the tool does, as shown to MCP clients."""
  description: String!
  """Whether the tool only reads; false when unset."""
  readOnly: Boolean!
  """Whether the tool may destroy data; true when unset."""
  destructive: Boolean!
  """Whether repeating a call has no further effect; false when unset."""
  idempotent: Boolean!
  """Whether the tool reaches beyond the platform; true when unset."""
  openWorld: Boolean!
  """JSON Schema object of the tool's arguments."""
  inputSchema: JSON!
  """JSON Schema object of the tool's result."""
  outputSchema: JSON!
  """The tool's Lua; `exports.handler` runs a call."""
  source: String!
}