{"version":"2.1.318","anchor":"new-set-attached-project-command-swaps-claude-project-uuid-m","canonical_anchor":"new-set-attached-project-command-swaps-claude-project-uuid-m","heading":"A running session can have its claude.ai Project attached or removed","tier":"use","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.318\/e\/new-set-attached-project-command-swaps-claude-project-uuid-m","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.318","markdown":"### A running session can have its claude.ai Project attached or removed\n\nA new `set_attached_project` command sets or clears `CLAUDE_PROJECT_UUID` on a live session, if the session gets its Project from its host\n\n**What**\n\nA new `set_attached_project` command lets the service hosting a session change which claude.ai Project the session uses, without restarting it. It takes a `project_uuid`, which must be a UUID (a unique project ID) or null:\n\n- a UUID sets `CLAUDE_PROJECT_UUID` for the session\n\n- null clears it\n\nThe command fails with an error if the session does not get its Project through the service hosting it.\n\n**Why**\n\nA host can attach or detach a Project on a live session instead of starting a new session.\n\n- Area: SDK\n- Names: `set_attached_project`, `project_uuid`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}