Letta · Schema
InitToolRule
Represents the initial tool rule configuration.
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. |
| args | object | Optional prefilled arguments for this tool. When present, these values will override any LLM-provided arguments with the same keys during invocation. Keys must match the tool's parameter names and val |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/InitToolRule",
"title": "InitToolRule",
"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": "run_first",
"title": "Type",
"default": "run_first"
},
"prompt_template": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Prompt Template",
"description": "Optional template string (ignored). Rendering uses fast built-in formatting for performance."
},
"args": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Args",
"description": "Optional prefilled arguments for this tool. When present, these values will override any LLM-provided arguments with the same keys during invocation. Keys must match the tool's parameter names and values must satisfy the tool's JSON schema. Supports partial prefill; non-overlapping parameters are left to the model."
}
},
"additionalProperties": false,
"type": "object",
"required": [
"tool_name"
],
"description": "Represents the initial tool rule configuration."
}