example.behaviour
Since next
The smallest compiling behaviour module doing what you describe, from tested fixtures: door, collect, rotate, move, trigger, timer, hud, camera, input, nav.
Pass its source to behaviour.write.
| Title | An example behaviour |
| Mode | disk |
| Token cost | about 114 tokens (in the default list, paid on every call) |
| Toolset | core |
Arguments
| Argument | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
agent | string | no | The 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. | ||
intent | string | yes | A few words |
Example
An MCP tools/call with the required arguments (placeholders in angle brackets).
{
"name": "example.behaviour",
"arguments": {
"intent": "<intent>"
}
}