interact
Control AI agents in cmuxlayer by sending messages, interrupting tasks, switching models, resuming sessions, running skills, or checking usage. Manage agent interactions through direct commands.
Instructions
Send a message to an agent, or perform an agent action (interrupt, model switch, resume, skill, usage). If the agent is alive, sends directly. If not found, returns an error — use spawn_agent first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Agent ID (from spawn_agent or list_agents) | |
| action | Yes | Action to perform | |
| text | No | Text to send (required for action=send) | |
| model | No | Model to switch to (required for action=model) | |
| session_id | No | Session ID to resume (optional for action=resume) | |
| command | No | Slash command to run (required for action=skill) |