Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
---
title: TextEditorCodeExecution
description: >-
Use a text editor in a sandboxed environment using Claude's built-in code
execution tool.
---
# TextEditorCodeExecution
Use a text editor in a sandboxed environment using Claude's built-in code execution tool. Its files live only in the sandbox: to create a document or file for the user, use CreateDocument.
## Parameters
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `input` | string | Yes | The text editing instruction. |