Move Cymulate agent to a different environment
cymulate_agents_change_environmentMove a Cymulate agent to a target environment by providing agent ID and environment ID. Requires an existing target environment and permissions on both source and target.
Instructions
Move a Cymulate agent to a target environment. Uses PUT /v1/agents/change-environment with query params id (agent ID) and envId (target environment ID). Requires the target environment to already exist; use cymulate_env_list to discover env IDs. Requires permission on both source and target envs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent ID (MongoDB ObjectId) — obtain from cymulate_agents_list_connected or agents_list_all | |
| environment_id | Yes | Target environment ID — obtain from cymulate_env_list (or GET /v1/environments as fallback) |