Talos docs

entity.add_behaviour

Since next

[editor or disk] Attach a behaviour: a script component with module and props, one undo step.

Plain text

The module is the project's (behaviors/drift for behaviors/drift.ts) or built-in; argus://behaviours lists both with their props.

TitleAdd a behaviour
Mode
Token costabout 164 tokens (in the default list, paid on every call)
Toolsetcore

Arguments

ArgumentTypeRequiredDefaultAllowed valuesDescription
agentstringnoThe name of the agent making the call, when several agents share one connection: each named agent is its own actor and plays its own game. Leave it out when there is one agent.
entitystringyes
modulestringyesscript.module, such as player or behaviors/drift
propsobjectnoIts settings
savebooleannotrue saves the scene afterwards.
scenestringnoThe scene file to act on. The open scene when absent.

Example

An MCP tools/call with the required arguments (placeholders in angle brackets).

{
  "name": "entity.add_behaviour",
  "arguments": {
    "entity": "<entity>",
    "module": "<module>"
  }
}