Skip to content

Agent configuration ​

What an agent version holds. You edit it in the console; this reference explains every field. Fields that do not apply to an agent's type are ignored.

FieldTypeDefaultTypes
modelModelextraction, transform, conversational
instructionsstring (≤ 100 000)""all
inputSchemaJSON Schemaall but realtime
outputSchemaJSON Schemaextraction, transform, workflow
dataSourcesattached sources[]extraction, transform, conversational
knowledgeModetool | contexttoolextraction, transform, conversational
rewriteQuerybooleanfalseconversational (context mode)
toolstool refs[]extraction, transform, conversational, realtime
maxToolCallsinteger 0–5010same as tools
memoryMemoryconversational
filesFilesextraction, transform, conversational
guardrailsGuardrailsall run types
realtimeRealtimerealtime
workflowgraphworkflow

Model ​

FieldTypeDescription
modelIdstringcatalog id, for example openai:gpt-5-mini
temperaturenumber 0–2
maxOutputTokensinteger ≤ 200 000
reasoningEffortlow | medium | highfor models that support it

Only models enabled on the platform can be used; otherwise runs fail with MODEL_UNAVAILABLE.

Instructions ​

The system prompt. {{path}} placeholders are filled from the run input ({{name}}, {{address.city}}; a leading input. is allowed). Missing values render as empty strings, objects and arrays as JSON.

Schemas ​

inputSchema and outputSchema are JSON Schema objects. The input is validated before the run starts (400 INPUT_INVALID with per-field messages). With an outputSchema the model produces structured output, output is the parsed object, and a mismatch fails the run. Schemas are self-contained: $ref resolves only within the schema (no remote or cross-schema references), a schema may be at most 100 kB, and pattern uses RE2 syntax (no lookarounds or backreferences).

Data sources ​

json
{ "dataSourceId": "…", "topK": 5, "minScore": 0.3, "filter": { "lang": "en" } }
FieldDefaultDescription
dataSourceIdan indexed data source of the project
topK51 to 50 chunks per retrieval
minScoreminimum cosine similarity, 0 to 1
filteronly chunks whose metadata contains these key/values

See Knowledge for knowledgeMode and rewriteQuery.

Tools ​

json
[
  { "kind": "http", "toolId": "…" },
  { "kind": "agent", "agentId": "…", "description": "optional override" },
  { "kind": "live_source", "dataSourceId": "…" },
  { "kind": "builtin", "name": "current_time" }
]

Built-in names: current_time, detect_language, web_fetch. See HTTP tools and Agents as tools.

Memory ​

FieldDefaultDescription
historyMessages20previous messages sent with each turn (0 to 200)
summarizefalsefold messages older than the window into a summary
generateTitletruetitle new conversations from the first message

With summarize, messages that leave the history window are merged into a running summary of the conversation, a few at a time and only once each, by the agent's own model; the summary is added to the instructions of every turn. Its tokens are metered as usage of the run that made it.

Files ​

FieldDefaultDescription
acceptedMimeTypes["application/pdf", "image/png", "image/jpeg"]wildcards like image/* allowed
maxSizeMb20up to 100
maxPages30up to 500
strategyautovision, ocr or auto

See Files.

Guardrails ​

FieldDefaultDescription
sanitizeInputtruescreen input text for prompt-injection patterns
maxInputChars50 000total characters of text in the input; more answers 400 INPUT_TOO_LONG
onInjectionrejectreject: answer 400 INPUT_REJECTED; flag: run and add prompt_injection to flags
refusalMessagethe message of INPUT_REJECTED
allowedLanguagesISO 639-1 codes (["en", "de"]); input detected in another language answers 400 INPUT_LANGUAGE_NOT_ALLOWED

The screening is a pattern-based first line of defense, not a guarantee. Language detection is offline and conservative: short or ambiguous input (a greeting, numbers) is never rejected, only text whose language is detected with confidence.

Realtime ​

FieldDefaultDescription
provideropenai or gemini
modelIda realtime model from the catalog
voiceprovider voice
turnDetectionserver_vadserver_vad or none (push-to-talk)
maxSessionMinutes151 to 120
storeTranscripttrue

See Realtime voice.

Hevkar public API v1