@lumavox/server 0.50.0 → 0.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1965,6 +1965,54 @@ export type AgentSummary = {
1965
1965
  * What the agent says when the model provider's own safety filter holds a reply back, in place of it: one line in the agent's voice, such as "Hmm, let's talk about something else!" — 1 to 300 characters, at any `age_level`. It is said and spoken as any reply, and the turn ends with `turn.done`; a reply held back part-way keeps what it had said, less the sentence it was writing. **Unset, a held-back reply ends with an `error` (`provider_failed`) and `interrupted`**, as before. Never for the opening line. Recommended for `kids` and `teens`, whose filters are stricter.
1966
1966
  */
1967
1967
  fallback_message: string | null;
1968
+ /**
1969
+ * Whether the agent plays a character or is an assistant. `character` (the default, and what unset means) opens its instructions with "You are playing a character… Stay in character", for a companion, a game's character or a tutor with a persona. `assistant` opens them as an assistant helping the user, for a support desk or a helper, which then has no character to stay in. The rest of its instructions are the same either way. Always answered: `character` for an agent that set none.
1970
+ */
1971
+ role: 'character' | 'assistant';
1972
+ /**
1973
+ * The language the agent replies in, as a tag — `es`, `pt-BR` — whatever language the person writes in: told to the model, spoken by the voice where `voice_config` names no `language` of its own, and the hint its hearing transcribes with (the language alone, `pt` of `pt-BR`) where `stt_config` names none. **A conversation whose key names a `language` uses that instead.** Unset, the agent answers in the language it is spoken to in.
1974
+ */
1975
+ language: string | null;
1976
+ /**
1977
+ * Lines in the agent's voice, to show the model how it talks — its manner, not lines to repeat: at most 20, of 500 characters each, each read as one line. Part of its instructions on every turn, so they are prompt tokens on every reply. Always answered: `[]` for none.
1978
+ */
1979
+ example_lines: Array<string>;
1980
+ /**
1981
+ * Opening lines the agent picks one of at random each time it greets — or, with `first_message_generated` on, directions it picks one of to write one by: at most 10, of 1000 characters each. **When it lists any, `first_message` is not used.** A key's own `first_message` is still said in place of them. Always answered: `[]` for none.
1982
+ */
1983
+ first_messages: Array<string>;
1984
+ /**
1985
+ * How random the replies are, 0 to 2. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
1986
+ */
1987
+ temperature: number | null;
1988
+ /**
1989
+ * How much of the likeliest words the model picks from, by their total probability, 0 to 1. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
1990
+ */
1991
+ top_p: number | null;
1992
+ /**
1993
+ * How many of the likeliest words the model picks from, 1 to 1,000. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
1994
+ */
1995
+ top_k: number | null;
1996
+ /**
1997
+ * How much the model avoids a word it has already used, however often: from -2 up to 2, positive avoiding it. Unset sends none, so the model's own default applies.
1998
+ */
1999
+ presence_penalty: number | null;
2000
+ /**
2001
+ * How much the model avoids a word by how often it has used it: from -2 up to 2, positive avoiding it. A large negative value can make it repeat a word until the reply's cap. Unset sends none.
2002
+ */
2003
+ frequency_penalty: number | null;
2004
+ /**
2005
+ * The same seed makes the same request answer more alike — useful when testing an agent. Never a guarantee. Unset is a new one each time.
2006
+ */
2007
+ seed: number | null;
2008
+ /**
2009
+ * Where the model stops writing a reply: at the first of these it writes, which is left out. Always answered: `[]` for none.
2010
+ */
2011
+ stop_sequences: Array<string>;
2012
+ /**
2013
+ * The platform's own tools this agent is not offered, while the feature each belongs to stays on: `search_knowledge` (its knowledge is still looked up before replies when `knowledge_lookup_first` is on), `forget_fact` (it cannot forget a fact when asked), `remember_conversation` (memories are still read from its conversations), `search_memories` (it knows a topic by its line alone) and `remember_relation` (the relationship stays as it is, and is still told to it). `hand_off` and `schedule_message` have switches of their own: `handoffs` and `outreach_tool`. Always answered: `[]` for none.
2014
+ */
2015
+ tools_off: Array<'search_knowledge' | 'forget_fact' | 'remember_conversation' | 'search_memories' | 'remember_relation'>;
1968
2016
  /**
1969
2017
  * Other agents of yours this one may pass the conversation to, each with when: the agent is offered a tool to hand off, and the agent it hands to answers the person's last message and carries the conversation on, with its own instructions, voice, knowledge and tools. At most 10. `[]` for none. A target deleted since is gone from the list.
1970
2018
  */
@@ -2220,7 +2268,7 @@ export type AgentSummary = {
2220
2268
  /**
2221
2269
  * The settings this agent takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own, by field name: the complete list, `null` or `[]` for none.
2222
2270
  *
2223
- * Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model`, `thinking_level`, `thinking_summaries` and `max_output_tokens`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
2271
+ * Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model` with `thinking_level`, `thinking_summaries`, `max_output_tokens`, `temperature`, `top_p`, `top_k`, `presence_penalty`, `frequency_penalty`, `seed` and `stop_sequences`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
2224
2272
  *
2225
2273
  * A new agent follows every setting you did not set when you made it. An agent made before this existed follows none until you say so.
2226
2274
  *
@@ -2228,7 +2276,7 @@ export type AgentSummary = {
2228
2276
  *
2229
2277
  * Answered field by field, a set's every field, each answered as the agent runs it. Always answered: `[]` for none.
2230
2278
  */
2231
- org_defaults: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message'>;
2279
+ org_defaults: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'presence_penalty' | 'frequency_penalty' | 'seed' | 'stop_sequences' | 'language' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message'>;
2232
2280
  id: string;
2233
2281
  created_at: string;
2234
2282
  updated_at: string;
@@ -2392,6 +2440,54 @@ export type AgentInfo = {
2392
2440
  * What the agent says when the model provider's own safety filter holds a reply back, in place of it: one line in the agent's voice, such as "Hmm, let's talk about something else!" — 1 to 300 characters, at any `age_level`. It is said and spoken as any reply, and the turn ends with `turn.done`; a reply held back part-way keeps what it had said, less the sentence it was writing. **Unset, a held-back reply ends with an `error` (`provider_failed`) and `interrupted`**, as before. Never for the opening line. Recommended for `kids` and `teens`, whose filters are stricter.
2393
2441
  */
2394
2442
  fallback_message: string | null;
2443
+ /**
2444
+ * Whether the agent plays a character or is an assistant. `character` (the default, and what unset means) opens its instructions with "You are playing a character… Stay in character", for a companion, a game's character or a tutor with a persona. `assistant` opens them as an assistant helping the user, for a support desk or a helper, which then has no character to stay in. The rest of its instructions are the same either way. Always answered: `character` for an agent that set none.
2445
+ */
2446
+ role: 'character' | 'assistant';
2447
+ /**
2448
+ * The language the agent replies in, as a tag — `es`, `pt-BR` — whatever language the person writes in: told to the model, spoken by the voice where `voice_config` names no `language` of its own, and the hint its hearing transcribes with (the language alone, `pt` of `pt-BR`) where `stt_config` names none. **A conversation whose key names a `language` uses that instead.** Unset, the agent answers in the language it is spoken to in.
2449
+ */
2450
+ language: string | null;
2451
+ /**
2452
+ * Lines in the agent's voice, to show the model how it talks — its manner, not lines to repeat: at most 20, of 500 characters each, each read as one line. Part of its instructions on every turn, so they are prompt tokens on every reply. Always answered: `[]` for none.
2453
+ */
2454
+ example_lines: Array<string>;
2455
+ /**
2456
+ * Opening lines the agent picks one of at random each time it greets — or, with `first_message_generated` on, directions it picks one of to write one by: at most 10, of 1000 characters each. **When it lists any, `first_message` is not used.** A key's own `first_message` is still said in place of them. Always answered: `[]` for none.
2457
+ */
2458
+ first_messages: Array<string>;
2459
+ /**
2460
+ * How random the replies are, 0 to 2. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
2461
+ */
2462
+ temperature: number | null;
2463
+ /**
2464
+ * How much of the likeliest words the model picks from, by their total probability, 0 to 1. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
2465
+ */
2466
+ top_p: number | null;
2467
+ /**
2468
+ * How many of the likeliest words the model picks from, 1 to 1,000. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
2469
+ */
2470
+ top_k: number | null;
2471
+ /**
2472
+ * How much the model avoids a word it has already used, however often: from -2 up to 2, positive avoiding it. Unset sends none, so the model's own default applies.
2473
+ */
2474
+ presence_penalty: number | null;
2475
+ /**
2476
+ * How much the model avoids a word by how often it has used it: from -2 up to 2, positive avoiding it. A large negative value can make it repeat a word until the reply's cap. Unset sends none.
2477
+ */
2478
+ frequency_penalty: number | null;
2479
+ /**
2480
+ * The same seed makes the same request answer more alike — useful when testing an agent. Never a guarantee. Unset is a new one each time.
2481
+ */
2482
+ seed: number | null;
2483
+ /**
2484
+ * Where the model stops writing a reply: at the first of these it writes, which is left out. Always answered: `[]` for none.
2485
+ */
2486
+ stop_sequences: Array<string>;
2487
+ /**
2488
+ * The platform's own tools this agent is not offered, while the feature each belongs to stays on: `search_knowledge` (its knowledge is still looked up before replies when `knowledge_lookup_first` is on), `forget_fact` (it cannot forget a fact when asked), `remember_conversation` (memories are still read from its conversations), `search_memories` (it knows a topic by its line alone) and `remember_relation` (the relationship stays as it is, and is still told to it). `hand_off` and `schedule_message` have switches of their own: `handoffs` and `outreach_tool`. Always answered: `[]` for none.
2489
+ */
2490
+ tools_off: Array<'search_knowledge' | 'forget_fact' | 'remember_conversation' | 'search_memories' | 'remember_relation'>;
2395
2491
  /**
2396
2492
  * Other agents of yours this one may pass the conversation to, each with when: the agent is offered a tool to hand off, and the agent it hands to answers the person's last message and carries the conversation on, with its own instructions, voice, knowledge and tools. At most 10. `[]` for none. A target deleted since is gone from the list.
2397
2493
  */
@@ -2647,7 +2743,7 @@ export type AgentInfo = {
2647
2743
  /**
2648
2744
  * The settings this agent takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own, by field name: the complete list, `null` or `[]` for none.
2649
2745
  *
2650
- * Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model`, `thinking_level`, `thinking_summaries` and `max_output_tokens`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
2746
+ * Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model` with `thinking_level`, `thinking_summaries`, `max_output_tokens`, `temperature`, `top_p`, `top_k`, `presence_penalty`, `frequency_penalty`, `seed` and `stop_sequences`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
2651
2747
  *
2652
2748
  * A new agent follows every setting you did not set when you made it. An agent made before this existed follows none until you say so.
2653
2749
  *
@@ -2655,7 +2751,7 @@ export type AgentInfo = {
2655
2751
  *
2656
2752
  * Answered field by field, a set's every field, each answered as the agent runs it. Always answered: `[]` for none.
2657
2753
  */
2658
- org_defaults: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message'>;
2754
+ org_defaults: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'presence_penalty' | 'frequency_penalty' | 'seed' | 'stop_sequences' | 'language' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message'>;
2659
2755
  id: string;
2660
2756
  created_at: string;
2661
2757
  updated_at: string;
@@ -2717,6 +2813,54 @@ export type AgentCreateRequest = {
2717
2813
  * What the agent says when the model provider's own safety filter holds a reply back, in place of it: one line in the agent's voice, such as "Hmm, let's talk about something else!" — 1 to 300 characters, at any `age_level`. It is said and spoken as any reply, and the turn ends with `turn.done`; a reply held back part-way keeps what it had said, less the sentence it was writing. **Unset, a held-back reply ends with an `error` (`provider_failed`) and `interrupted`**, as before. Never for the opening line. Recommended for `kids` and `teens`, whose filters are stricter.
2718
2814
  */
2719
2815
  fallback_message?: string | null;
2816
+ /**
2817
+ * Whether the agent plays a character or is an assistant. `character` (the default, and what unset means) opens its instructions with "You are playing a character… Stay in character", for a companion, a game's character or a tutor with a persona. `assistant` opens them as an assistant helping the user, for a support desk or a helper, which then has no character to stay in. The rest of its instructions are the same either way.
2818
+ */
2819
+ role?: 'character' | 'assistant' | null;
2820
+ /**
2821
+ * The language the agent replies in, as a tag — `es`, `pt-BR` — whatever language the person writes in: told to the model, spoken by the voice where `voice_config` names no `language` of its own, and the hint its hearing transcribes with (the language alone, `pt` of `pt-BR`) where `stt_config` names none. **A conversation whose key names a `language` uses that instead.** Unset, the agent answers in the language it is spoken to in.
2822
+ */
2823
+ language?: string | null;
2824
+ /**
2825
+ * Lines in the agent's voice, to show the model how it talks — its manner, not lines to repeat: at most 20, of 500 characters each, each read as one line. Part of its instructions on every turn, so they are prompt tokens on every reply. The complete list: `null` or `[]` clears it.
2826
+ */
2827
+ example_lines?: Array<string> | null;
2828
+ /**
2829
+ * Opening lines the agent picks one of at random each time it greets — or, with `first_message_generated` on, directions it picks one of to write one by: at most 10, of 1000 characters each. **When it lists any, `first_message` is not used.** A key's own `first_message` is still said in place of them. The complete list: `null` or `[]` clears it.
2830
+ */
2831
+ first_messages?: Array<string> | null;
2832
+ /**
2833
+ * How random the replies are, 0 to 2. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
2834
+ */
2835
+ temperature?: number | null;
2836
+ /**
2837
+ * How much of the likeliest words the model picks from, by their total probability, 0 to 1. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
2838
+ */
2839
+ top_p?: number | null;
2840
+ /**
2841
+ * How many of the likeliest words the model picks from, 1 to 1,000. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
2842
+ */
2843
+ top_k?: number | null;
2844
+ /**
2845
+ * How much the model avoids a word it has already used, however often: from -2 up to 2, positive avoiding it. Unset sends none, so the model's own default applies.
2846
+ */
2847
+ presence_penalty?: number | null;
2848
+ /**
2849
+ * How much the model avoids a word by how often it has used it: from -2 up to 2, positive avoiding it. A large negative value can make it repeat a word until the reply's cap. Unset sends none.
2850
+ */
2851
+ frequency_penalty?: number | null;
2852
+ /**
2853
+ * The same seed makes the same request answer more alike — useful when testing an agent. Never a guarantee. Unset is a new one each time.
2854
+ */
2855
+ seed?: number | null;
2856
+ /**
2857
+ * Where the model stops writing a reply: at the first of these it writes, which is left out. At most 5, of 100 characters each. **One that could end a reply inside its mood line is refused** (422) — a mood opens a reply with `emotion_enabled` on, as `mood: happy 0.6` on a line of its own, so a newline, a space, a digit, `mood` or part of a mood's name would leave no reply. The complete list: `null` or `[]` clears it.
2858
+ */
2859
+ stop_sequences?: Array<string> | null;
2860
+ /**
2861
+ * The platform's own tools this agent is not offered, while the feature each belongs to stays on: `search_knowledge` (its knowledge is still looked up before replies when `knowledge_lookup_first` is on), `forget_fact` (it cannot forget a fact when asked), `remember_conversation` (memories are still read from its conversations), `search_memories` (it knows a topic by its line alone) and `remember_relation` (the relationship stays as it is, and is still told to it). `hand_off` and `schedule_message` have switches of their own: `handoffs` and `outreach_tool`. The complete list: `null` or `[]` clears it.
2862
+ */
2863
+ tools_off?: Array<'search_knowledge' | 'forget_fact' | 'remember_conversation' | 'search_memories' | 'remember_relation'> | null;
2720
2864
  /**
2721
2865
  * Other agents of yours this one may pass the conversation to, each with when: the agent is offered a tool to hand off, and the agent it hands to answers the person's last message and carries the conversation on, with its own instructions, voice, knowledge and tools. At most 10. The complete list, in order: `null` or `[]` clears it.
2722
2866
  */
@@ -2972,7 +3116,7 @@ export type AgentCreateRequest = {
2972
3116
  /**
2973
3117
  * The settings this agent takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own, by field name: the complete list, `null` or `[]` for none.
2974
3118
  *
2975
- * Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model`, `thinking_level`, `thinking_summaries` and `max_output_tokens`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
3119
+ * Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model` with `thinking_level`, `thinking_summaries`, `max_output_tokens`, `temperature`, `top_p`, `top_k`, `presence_penalty`, `frequency_penalty`, `seed` and `stop_sequences`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
2976
3120
  *
2977
3121
  * A new agent follows every setting you did not set when you made it. An agent made before this existed follows none until you say so.
2978
3122
  *
@@ -2980,7 +3124,7 @@ export type AgentCreateRequest = {
2980
3124
  *
2981
3125
  * Naming one field of a set names all of it. A section's name — `voice`, `safety` and the rest of the console's tabs — stands for every field of it.
2982
3126
  */
2983
- org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
3127
+ org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'presence_penalty' | 'frequency_penalty' | 'seed' | 'stop_sequences' | 'language' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
2984
3128
  };
2985
3129
  export type AgentReportField = {
2986
3130
  /**
@@ -3156,6 +3300,38 @@ export type AgentDefaults = {
3156
3300
  * Cap on reply length. Unset means the model's own limit.
3157
3301
  */
3158
3302
  max_output_tokens: number | null;
3303
+ /**
3304
+ * How random the replies are, 0 to 2. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
3305
+ */
3306
+ temperature: number | null;
3307
+ /**
3308
+ * How much of the likeliest words the model picks from, by their total probability, 0 to 1. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
3309
+ */
3310
+ top_p: number | null;
3311
+ /**
3312
+ * How many of the likeliest words the model picks from, 1 to 1,000. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
3313
+ */
3314
+ top_k: number | null;
3315
+ /**
3316
+ * How much the model avoids a word it has already used, however often: from -2 up to 2, positive avoiding it. Unset sends none, so the model's own default applies.
3317
+ */
3318
+ presence_penalty: number | null;
3319
+ /**
3320
+ * How much the model avoids a word by how often it has used it: from -2 up to 2, positive avoiding it. A large negative value can make it repeat a word until the reply's cap. Unset sends none.
3321
+ */
3322
+ frequency_penalty: number | null;
3323
+ /**
3324
+ * The same seed makes the same request answer more alike — useful when testing an agent. Never a guarantee. Unset is a new one each time.
3325
+ */
3326
+ seed: number | null;
3327
+ /**
3328
+ * Where the model stops writing a reply: at the first of these it writes, which is left out. Always answered: `[]` for none.
3329
+ */
3330
+ stop_sequences: Array<string> | null;
3331
+ /**
3332
+ * The language the agent replies in, as a tag — `es`, `pt-BR` — whatever language the person writes in: told to the model, spoken by the voice where `voice_config` names no `language` of its own, and the hint its hearing transcribes with (the language alone, `pt` of `pt-BR`) where `stt_config` names none. **A conversation whose key names a `language` uses that instead.** Unset, the agent answers in the language it is spoken to in.
3333
+ */
3334
+ language: string | null;
3159
3335
  /**
3160
3336
  * Whether replies come back as audio as well as text.
3161
3337
  *
@@ -3220,6 +3396,10 @@ export type AgentDefaults = {
3220
3396
  * **No fee, but not free**: the code and its output are model tokens, billed like any reply.
3221
3397
  */
3222
3398
  code_execution: boolean | null;
3399
+ /**
3400
+ * The platform's own tools this agent is not offered, while the feature each belongs to stays on: `search_knowledge` (its knowledge is still looked up before replies when `knowledge_lookup_first` is on), `forget_fact` (it cannot forget a fact when asked), `remember_conversation` (memories are still read from its conversations), `search_memories` (it knows a topic by its line alone) and `remember_relation` (the relationship stays as it is, and is still told to it). `hand_off` and `schedule_message` have switches of their own: `handoffs` and `outreach_tool`. Always answered: `[]` for none.
3401
+ */
3402
+ tools_off: Array<'search_knowledge' | 'forget_fact' | 'remember_conversation' | 'search_memories' | 'remember_relation'> | null;
3223
3403
  /**
3224
3404
  * Compact automatically once a reply's first model call reads this many tokens — the conversation, its summary and the instruction, without the inline knowledge or the turn's looked-up passages, which no summary shrinks. Tool results do not count. Unset uses the platform's default, `agents.memory.compaction.default_threshold_tokens` on the Limits page. At most 200,000, and at least twice what the instruction costs on its own. `POST /v1/agent/sessions/{id}/compact` works whatever it is.
3225
3405
  */
@@ -3378,6 +3558,14 @@ export type AgentsFollowing = {
3378
3558
  thinking_level: number;
3379
3559
  thinking_summaries: number;
3380
3560
  max_output_tokens: number;
3561
+ temperature: number;
3562
+ top_p: number;
3563
+ top_k: number;
3564
+ presence_penalty: number;
3565
+ frequency_penalty: number;
3566
+ seed: number;
3567
+ stop_sequences: number;
3568
+ language: number;
3381
3569
  voice_enabled: number;
3382
3570
  voice_config: number;
3383
3571
  stream_chunk_schedule: number;
@@ -3392,6 +3580,7 @@ export type AgentsFollowing = {
3392
3580
  knowledge_max_results: number;
3393
3581
  url_context: number;
3394
3582
  code_execution: number;
3583
+ tools_off: number;
3395
3584
  compact_threshold_tokens: number;
3396
3585
  compact_instruction: number;
3397
3586
  compact_model: number;
@@ -3496,6 +3685,38 @@ export type AgentDefaultsUpdate = {
3496
3685
  * Cap on reply length. Unset means the model's own limit.
3497
3686
  */
3498
3687
  max_output_tokens?: number | null;
3688
+ /**
3689
+ * How random the replies are, 0 to 2. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
3690
+ */
3691
+ temperature?: number | null;
3692
+ /**
3693
+ * How much of the likeliest words the model picks from, by their total probability, 0 to 1. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
3694
+ */
3695
+ top_p?: number | null;
3696
+ /**
3697
+ * How many of the likeliest words the model picks from, 1 to 1,000. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
3698
+ */
3699
+ top_k?: number | null;
3700
+ /**
3701
+ * How much the model avoids a word it has already used, however often: from -2 up to 2, positive avoiding it. Unset sends none, so the model's own default applies.
3702
+ */
3703
+ presence_penalty?: number | null;
3704
+ /**
3705
+ * How much the model avoids a word by how often it has used it: from -2 up to 2, positive avoiding it. A large negative value can make it repeat a word until the reply's cap. Unset sends none.
3706
+ */
3707
+ frequency_penalty?: number | null;
3708
+ /**
3709
+ * The same seed makes the same request answer more alike — useful when testing an agent. Never a guarantee. Unset is a new one each time.
3710
+ */
3711
+ seed?: number | null;
3712
+ /**
3713
+ * Where the model stops writing a reply: at the first of these it writes, which is left out. At most 5, of 100 characters each. **One that could end a reply inside its mood line is refused** (422) — a mood opens a reply with `emotion_enabled` on, as `mood: happy 0.6` on a line of its own, so a newline, a space, a digit, `mood` or part of a mood's name would leave no reply. The complete list: `null` or `[]` clears it.
3714
+ */
3715
+ stop_sequences?: Array<string> | null;
3716
+ /**
3717
+ * The language the agent replies in, as a tag — `es`, `pt-BR` — whatever language the person writes in: told to the model, spoken by the voice where `voice_config` names no `language` of its own, and the hint its hearing transcribes with (the language alone, `pt` of `pt-BR`) where `stt_config` names none. **A conversation whose key names a `language` uses that instead.** Unset, the agent answers in the language it is spoken to in.
3718
+ */
3719
+ language?: string | null;
3499
3720
  /**
3500
3721
  * Whether replies come back as audio as well as text.
3501
3722
  *
@@ -3560,6 +3781,10 @@ export type AgentDefaultsUpdate = {
3560
3781
  * **No fee, but not free**: the code and its output are model tokens, billed like any reply.
3561
3782
  */
3562
3783
  code_execution?: boolean | null;
3784
+ /**
3785
+ * The platform's own tools this agent is not offered, while the feature each belongs to stays on: `search_knowledge` (its knowledge is still looked up before replies when `knowledge_lookup_first` is on), `forget_fact` (it cannot forget a fact when asked), `remember_conversation` (memories are still read from its conversations), `search_memories` (it knows a topic by its line alone) and `remember_relation` (the relationship stays as it is, and is still told to it). `hand_off` and `schedule_message` have switches of their own: `handoffs` and `outreach_tool`. The complete list: `null` or `[]` clears it.
3786
+ */
3787
+ tools_off?: Array<'search_knowledge' | 'forget_fact' | 'remember_conversation' | 'search_memories' | 'remember_relation'> | null;
3563
3788
  /**
3564
3789
  * Compact automatically once a reply's first model call reads this many tokens — the conversation, its summary and the instruction, without the inline knowledge or the turn's looked-up passages, which no summary shrinks. Tool results do not count. Unset uses the platform's default, `agents.memory.compaction.default_threshold_tokens` on the Limits page. At most 200,000, and at least twice what the instruction costs on its own. `POST /v1/agent/sessions/{id}/compact` works whatever it is.
3565
3790
  */
@@ -3768,6 +3993,54 @@ export type AgentUpdate = {
3768
3993
  * What the agent says when the model provider's own safety filter holds a reply back, in place of it: one line in the agent's voice, such as "Hmm, let's talk about something else!" — 1 to 300 characters, at any `age_level`. It is said and spoken as any reply, and the turn ends with `turn.done`; a reply held back part-way keeps what it had said, less the sentence it was writing. **Unset, a held-back reply ends with an `error` (`provider_failed`) and `interrupted`**, as before. Never for the opening line. Recommended for `kids` and `teens`, whose filters are stricter.
3769
3994
  */
3770
3995
  fallback_message?: string | null;
3996
+ /**
3997
+ * Whether the agent plays a character or is an assistant. `character` (the default, and what unset means) opens its instructions with "You are playing a character… Stay in character", for a companion, a game's character or a tutor with a persona. `assistant` opens them as an assistant helping the user, for a support desk or a helper, which then has no character to stay in. The rest of its instructions are the same either way.
3998
+ */
3999
+ role?: 'character' | 'assistant' | null;
4000
+ /**
4001
+ * The language the agent replies in, as a tag — `es`, `pt-BR` — whatever language the person writes in: told to the model, spoken by the voice where `voice_config` names no `language` of its own, and the hint its hearing transcribes with (the language alone, `pt` of `pt-BR`) where `stt_config` names none. **A conversation whose key names a `language` uses that instead.** Unset, the agent answers in the language it is spoken to in.
4002
+ */
4003
+ language?: string | null;
4004
+ /**
4005
+ * Lines in the agent's voice, to show the model how it talks — its manner, not lines to repeat: at most 20, of 500 characters each, each read as one line. Part of its instructions on every turn, so they are prompt tokens on every reply. The complete list: `null` or `[]` clears it.
4006
+ */
4007
+ example_lines?: Array<string> | null;
4008
+ /**
4009
+ * Opening lines the agent picks one of at random each time it greets — or, with `first_message_generated` on, directions it picks one of to write one by: at most 10, of 1000 characters each. **When it lists any, `first_message` is not used.** A key's own `first_message` is still said in place of them. The complete list: `null` or `[]` clears it.
4010
+ */
4011
+ first_messages?: Array<string> | null;
4012
+ /**
4013
+ * How random the replies are, 0 to 2. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
4014
+ */
4015
+ temperature?: number | null;
4016
+ /**
4017
+ * How much of the likeliest words the model picks from, by their total probability, 0 to 1. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
4018
+ */
4019
+ top_p?: number | null;
4020
+ /**
4021
+ * How many of the likeliest words the model picks from, 1 to 1,000. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
4022
+ */
4023
+ top_k?: number | null;
4024
+ /**
4025
+ * How much the model avoids a word it has already used, however often: from -2 up to 2, positive avoiding it. Unset sends none, so the model's own default applies.
4026
+ */
4027
+ presence_penalty?: number | null;
4028
+ /**
4029
+ * How much the model avoids a word by how often it has used it: from -2 up to 2, positive avoiding it. A large negative value can make it repeat a word until the reply's cap. Unset sends none.
4030
+ */
4031
+ frequency_penalty?: number | null;
4032
+ /**
4033
+ * The same seed makes the same request answer more alike — useful when testing an agent. Never a guarantee. Unset is a new one each time.
4034
+ */
4035
+ seed?: number | null;
4036
+ /**
4037
+ * Where the model stops writing a reply: at the first of these it writes, which is left out. At most 5, of 100 characters each. **One that could end a reply inside its mood line is refused** (422) — a mood opens a reply with `emotion_enabled` on, as `mood: happy 0.6` on a line of its own, so a newline, a space, a digit, `mood` or part of a mood's name would leave no reply. The complete list: `null` or `[]` clears it.
4038
+ */
4039
+ stop_sequences?: Array<string> | null;
4040
+ /**
4041
+ * The platform's own tools this agent is not offered, while the feature each belongs to stays on: `search_knowledge` (its knowledge is still looked up before replies when `knowledge_lookup_first` is on), `forget_fact` (it cannot forget a fact when asked), `remember_conversation` (memories are still read from its conversations), `search_memories` (it knows a topic by its line alone) and `remember_relation` (the relationship stays as it is, and is still told to it). `hand_off` and `schedule_message` have switches of their own: `handoffs` and `outreach_tool`. The complete list: `null` or `[]` clears it.
4042
+ */
4043
+ tools_off?: Array<'search_knowledge' | 'forget_fact' | 'remember_conversation' | 'search_memories' | 'remember_relation'> | null;
3771
4044
  /**
3772
4045
  * Other agents of yours this one may pass the conversation to, each with when: the agent is offered a tool to hand off, and the agent it hands to answers the person's last message and carries the conversation on, with its own instructions, voice, knowledge and tools. At most 10. The complete list, in order: `null` or `[]` clears it.
3773
4046
  */
@@ -4023,7 +4296,7 @@ export type AgentUpdate = {
4023
4296
  /**
4024
4297
  * The settings this agent takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own, by field name: the complete list, `null` or `[]` for none.
4025
4298
  *
4026
- * Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model`, `thinking_level`, `thinking_summaries` and `max_output_tokens`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
4299
+ * Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model` with `thinking_level`, `thinking_summaries`, `max_output_tokens`, `temperature`, `top_p`, `top_k`, `presence_penalty`, `frequency_penalty`, `seed` and `stop_sequences`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
4027
4300
  *
4028
4301
  * A new agent follows every setting you did not set when you made it. An agent made before this existed follows none until you say so.
4029
4302
  *
@@ -4031,7 +4304,7 @@ export type AgentUpdate = {
4031
4304
  *
4032
4305
  * Naming one field of a set names all of it. A section's name — `voice`, `safety` and the rest of the console's tabs — stands for every field of it.
4033
4306
  */
4034
- org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
4307
+ org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'presence_penalty' | 'frequency_penalty' | 'seed' | 'stop_sequences' | 'language' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
4035
4308
  /**
4036
4309
  * The `version` you last read for this agent. When set and the agent has been changed since, the update is refused with 409 and nothing is written - re-read it and decide again. Omit it to write unconditionally.
4037
4310
  */
@@ -4268,6 +4541,54 @@ export type AgentDraftUpdate = {
4268
4541
  * What the agent says when the model provider's own safety filter holds a reply back, in place of it: one line in the agent's voice, such as "Hmm, let's talk about something else!" — 1 to 300 characters, at any `age_level`. It is said and spoken as any reply, and the turn ends with `turn.done`; a reply held back part-way keeps what it had said, less the sentence it was writing. **Unset, a held-back reply ends with an `error` (`provider_failed`) and `interrupted`**, as before. Never for the opening line. Recommended for `kids` and `teens`, whose filters are stricter.
4269
4542
  */
4270
4543
  fallback_message?: string | null;
4544
+ /**
4545
+ * Whether the agent plays a character or is an assistant. `character` (the default, and what unset means) opens its instructions with "You are playing a character… Stay in character", for a companion, a game's character or a tutor with a persona. `assistant` opens them as an assistant helping the user, for a support desk or a helper, which then has no character to stay in. The rest of its instructions are the same either way.
4546
+ */
4547
+ role?: 'character' | 'assistant' | null;
4548
+ /**
4549
+ * The language the agent replies in, as a tag — `es`, `pt-BR` — whatever language the person writes in: told to the model, spoken by the voice where `voice_config` names no `language` of its own, and the hint its hearing transcribes with (the language alone, `pt` of `pt-BR`) where `stt_config` names none. **A conversation whose key names a `language` uses that instead.** Unset, the agent answers in the language it is spoken to in.
4550
+ */
4551
+ language?: string | null;
4552
+ /**
4553
+ * Lines in the agent's voice, to show the model how it talks — its manner, not lines to repeat: at most 20, of 500 characters each, each read as one line. Part of its instructions on every turn, so they are prompt tokens on every reply. The complete list: `null` or `[]` clears it.
4554
+ */
4555
+ example_lines?: Array<string> | null;
4556
+ /**
4557
+ * Opening lines the agent picks one of at random each time it greets — or, with `first_message_generated` on, directions it picks one of to write one by: at most 10, of 1000 characters each. **When it lists any, `first_message` is not used.** A key's own `first_message` is still said in place of them. The complete list: `null` or `[]` clears it.
4558
+ */
4559
+ first_messages?: Array<string> | null;
4560
+ /**
4561
+ * How random the replies are, 0 to 2. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
4562
+ */
4563
+ temperature?: number | null;
4564
+ /**
4565
+ * How much of the likeliest words the model picks from, by their total probability, 0 to 1. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
4566
+ */
4567
+ top_p?: number | null;
4568
+ /**
4569
+ * How many of the likeliest words the model picks from, 1 to 1,000. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
4570
+ */
4571
+ top_k?: number | null;
4572
+ /**
4573
+ * How much the model avoids a word it has already used, however often: from -2 up to 2, positive avoiding it. Unset sends none, so the model's own default applies.
4574
+ */
4575
+ presence_penalty?: number | null;
4576
+ /**
4577
+ * How much the model avoids a word by how often it has used it: from -2 up to 2, positive avoiding it. A large negative value can make it repeat a word until the reply's cap. Unset sends none.
4578
+ */
4579
+ frequency_penalty?: number | null;
4580
+ /**
4581
+ * The same seed makes the same request answer more alike — useful when testing an agent. Never a guarantee. Unset is a new one each time.
4582
+ */
4583
+ seed?: number | null;
4584
+ /**
4585
+ * Where the model stops writing a reply: at the first of these it writes, which is left out. At most 5, of 100 characters each. **One that could end a reply inside its mood line is refused** (422) — a mood opens a reply with `emotion_enabled` on, as `mood: happy 0.6` on a line of its own, so a newline, a space, a digit, `mood` or part of a mood's name would leave no reply. The complete list: `null` or `[]` clears it.
4586
+ */
4587
+ stop_sequences?: Array<string> | null;
4588
+ /**
4589
+ * The platform's own tools this agent is not offered, while the feature each belongs to stays on: `search_knowledge` (its knowledge is still looked up before replies when `knowledge_lookup_first` is on), `forget_fact` (it cannot forget a fact when asked), `remember_conversation` (memories are still read from its conversations), `search_memories` (it knows a topic by its line alone) and `remember_relation` (the relationship stays as it is, and is still told to it). `hand_off` and `schedule_message` have switches of their own: `handoffs` and `outreach_tool`. The complete list: `null` or `[]` clears it.
4590
+ */
4591
+ tools_off?: Array<'search_knowledge' | 'forget_fact' | 'remember_conversation' | 'search_memories' | 'remember_relation'> | null;
4271
4592
  /**
4272
4593
  * Other agents of yours this one may pass the conversation to, each with when: the agent is offered a tool to hand off, and the agent it hands to answers the person's last message and carries the conversation on, with its own instructions, voice, knowledge and tools. At most 10. The complete list, in order: `null` or `[]` clears it.
4273
4594
  */
@@ -4523,7 +4844,7 @@ export type AgentDraftUpdate = {
4523
4844
  /**
4524
4845
  * The settings this agent takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own, by field name: the complete list, `null` or `[]` for none.
4525
4846
  *
4526
- * Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model`, `thinking_level`, `thinking_summaries` and `max_output_tokens`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
4847
+ * Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model` with `thinking_level`, `thinking_summaries`, `max_output_tokens`, `temperature`, `top_p`, `top_k`, `presence_penalty`, `frequency_penalty`, `seed` and `stop_sequences`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
4527
4848
  *
4528
4849
  * A new agent follows every setting you did not set when you made it. An agent made before this existed follows none until you say so.
4529
4850
  *
@@ -4531,7 +4852,7 @@ export type AgentDraftUpdate = {
4531
4852
  *
4532
4853
  * Naming one field of a set names all of it. A section's name — `voice`, `safety` and the rest of the console's tabs — stands for every field of it.
4533
4854
  */
4534
- org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
4855
+ org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'presence_penalty' | 'frequency_penalty' | 'seed' | 'stop_sequences' | 'language' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
4535
4856
  /**
4536
4857
  * The whole set of tools the agent would have, by `tl_…`; omitted, the draft's as they are. Ids not yours are left out.
4537
4858
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumavox/server",
3
- "version": "0.50.0",
3
+ "version": "0.51.0",
4
4
  "description": "The Lumavox API from your server: end users, ephemeral keys and the rest, typed from the published OpenAPI document. Zero dependencies.",
5
5
  "license": "MIT",
6
6
  "type": "module",