Letta · Schema

RequiresApprovalToolRule

Represents a tool rule configuration which requires approval before the tool can be invoked.

AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

Properties

Name Type Description
tool_name string The name of the tool. Must exist in the database for the user's organization.
type string
prompt_template object Optional template string (ignored). Rendering uses fast built-in formatting for performance.
View JSON Schema on GitHub

JSON Schema

letta-requiresapprovaltoolrule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RequiresApprovalToolRule",
  "title": "RequiresApprovalToolRule",
  "properties": {
    "tool_name": {
      "type": "string",
      "title": "Tool Name",
      "description": "The name of the tool. Must exist in the database for the user's organization."
    },
    "type": {
      "type": "string",
      "const": "requires_approval",
      "title": "Type",
      "default": "requires_approval"
    },
    "prompt_template": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Prompt Template",
      "description": "Optional template string (ignored). Rendering uses fast built-in formatting for performance."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "tool_name"
  ],
  "description": "Represents a tool rule configuration which requires approval before the tool can be invoked."
}