Create and attach functionsCreate reusable workspace functions, attach them to agent drafts, and manage their lifecycle safely.