Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Archive Sandbox
DAYTONA_ARCHIVE_SANDBOXArchives a sandbox in the Daytona platform. Use this action when you need to archive a sandbox that is no longer needed but should be preserved for future reference. The sandbox will be marked as archived and its state will change to reflect the archival status. Note: Archiving a sandbox does not delete it immediately. The sandbox can potentially be restored or recovered from an archived state depending on the platform configuration.
Cancel Organization Invitation
DAYTONA_CANCEL_ORGANIZATION_INVITATIONCancels a pending organization invitation. Use when you need to revoke an invitation that has been sent but not yet accepted by the recipient. This action is irreversible — once an invitation is cancelled, it cannot be reactivated and the recipient will no longer be able to accept it. The cancelled invitation would need to be re-sent as a new invitation if access is still desired.
Checkout Git Branch
DAYTONA_CHECKOUT_GIT[DEPRECATED] Checkout a branch or commit in a git repository within a sandbox. Use this action when you need to switch branches or checkout a specific commit in a git repository that exists within a sandbox toolbox. This operation modifies the working tree of the repository. Note: This endpoint is deprecated. Consider using alternative approaches for git operations if available. The sandbox must be in a running state for this operation to succeed.
Create SSH Access
DAYTONA_CREATE_SSH_ACCESSCreates SSH access credentials for a sandbox environment. Use this action when you need to establish an SSH connection to a sandbox for administrative tasks, file transfers, or development operations. The returned credentials include a token and SSH command that can be used to connect to the sandbox securely. Note: SSH access tokens have a limited validity period. By default, they expire after 60 minutes. Use the expiresInMinutes parameter to customize the expiration time if needed.
Deactivate Snapshot
DAYTONA_DEACTIVATE_SNAPSHOTDeactivates a snapshot in the Daytona platform. Use this action when you need to deactivate a snapshot that is currently active. This will stop the snapshot from being used for new sandbox creations. Note: Deactivating a snapshot does not delete it. The snapshot data remains accessible but the snapshot is marked as inactive.
Delete API Key
DAYTONA_DELETE_API_KEYDeletes an API key by its name. Use when you need to revoke access for an API key that is no longer needed or has been compromised. This action is irreversible — once an API key is deleted, it cannot be recovered and any systems using that key will immediately lose access.
Delete API Key for User
DAYTONA_DELETE_API_KEY_USERDeletes an API key for a specific user. Use when you need to remove an existing API key associated with a user account, such as when cleaning up unused credentials or revoking access. This action is irreversible — once the API key is deleted, it cannot be recovered and any systems relying on that key will lose access.
Delete Organization OTEL Config
DAYTONA_DELETE_ORGANIZATION_OTEL_CONFIGDeletes the OpenTelemetry (OTEL) configuration for an organization. Use this action when you need to remove the OpenTelemetry settings that were previously configured for an organization's observability and tracing capabilities. This action is irreversible — once the OpenTelemetry configuration is deleted, the organization will no longer have OTEL tracing enabled and any previously collected telemetry data will no longer be accessible through the configured OTEL endpoint. A new configuration would need to be created to re-enable OpenTelemetry observability.
Enroll in SMS MFA
DAYTONA_ENROLL_IN_SMS_MFAEnrolls the authenticated user in SMS-based multi-factor authentication. Use when you need to enable SMS-based MFA for the authenticated user account. This action initiates the enrollment process and returns a URL where the user can complete the MFA setup by providing their phone number. Note: After enrollment, the user must complete the verification process by visiting the returned URL and entering the verification code sent to their phone.
Expire Signed Port Preview URL
DAYTONA_EXPIRE_SIGNED_PORT_PREVIEW_URLExpires a signed preview URL for a sandbox port. Use this action when you need to immediately invalidate a signed preview URL for a specific port on a sandbox, revoking access for anyone holding the token. This action is useful for security purposes when you need to quickly revoke access to a previously shared preview URL. This action is irreversible — once the signed preview URL is expired, the token will no longer provide access to the sandbox port, and a new signed preview URL must be generated if access is needed again.
Focus Accessibility Node
DAYTONA_FOCUS_ACCESSIBILITY_NODEFocuses an accessibility node in a sandbox's computer use system. Use this action when you need to programmatically set focus to a specific accessibility node within a sandbox's desktop environment. This is particularly useful for UI automation workflows where you need to ensure a specific element has focus before performing keyboard or mouse actions on it. Note: The sandbox must have computer use enabled for this action to work. This action is idempotent — focusing the same node multiple times will have the same effect.
Get Push Access
DAYTONA_GET_PUSH_ACCESSRetrieves temporary storage access credentials for pushing objects to object storage. Use this action when you need to upload or push objects to the Daytona object storage service. The returned credentials (access key, secret, session token, storage URL, and bucket name) are temporary and should be used immediately for the push operation. This is a read-only operation that does not modify any stored objects. Note: The returned credentials have a limited validity period. Use them promptly after retrieval for any object storage operations.
Get Transient Push Access
DAYTONA_GET_TRANSIENT_PUSH_ACCESSRetrieves temporary registry access credentials for pushing snapshots. Use this action when you need to obtain short-lived authentication credentials to push Docker images or snapshots to the Daytona registry. The credentials expire after a short time, so use them immediately after obtaining them. This action is idempotent - calling it generates a fresh set of temporary credentials.
Replace In Files
DAYTONA_REPLACE_IN_FILESReplaces text or patterns in multiple files within a sandbox. Use this action when you need to perform find-and-replace operations across multiple files in a sandbox. For each file specified, the action searches for the given pattern and replaces it with the new value. This action modifies files within the sandbox, so use with caution as changes may be difficult to revert. Consider backing up files before performing bulk replacements.
Replace Sandbox Labels
DAYTONA_REPLACE_SANDBOX_LABELSReplaces all labels on a sandbox with a new set of key-value pairs. Use this action when you need to update or redefine the labels associated with an existing sandbox. This operation completely replaces any existing labels — the previous labels will be removed. Note: This action modifies the sandbox's labels in bulk. If you need to add or remove individual labels while preserving others, consider fetching the current labels first and constructing the complete new set.
Resize PTY Session
DAYTONA_RESIZE_PTY_SESSIONResizes an active PTY session with new terminal dimensions. Use this action when you need to change the column and row dimensions of an existing pseudo-terminal (PTY) session within a running sandbox. This is commonly used to adjust the terminal display size to match the current viewport or user preference. The session must be active for this operation to succeed. This action is idempotent - resizing to the same dimensions is safe and will not cause errors. Note: Ensure the PTY session is active before attempting to resize it. Resizing an inactive session may result in errors.
Revoke SSH Access
DAYTONA_REVOKE_SSH_ACCESSRevokes SSH access credentials for a sandbox identified by ID or name. Provide a token to revoke that token, or omit it to revoke all SSH access for the sandbox.
Set Sandbox Auto Archive Interval
DAYTONA_SET_AUTO_ARCHIVE_INTERVALSets the auto-archive interval for a sandbox. Use this action when you need to configure how long a stopped sandbox should be retained before it is automatically archived. The interval specifies the time in minutes after the sandbox stops that the archiving process will begin. Setting interval to 0 uses the maximum interval value. This action modifies the sandbox lifecycle settings and may result in the sandbox being archived if it remains stopped beyond the configured interval.
Set Auto Delete Interval
DAYTONA_SET_AUTO_DELETE_INTERVALSets the auto-delete interval for a sandbox. Use this action when you need to configure automatic deletion of a sandbox after it is stopped. The interval specifies how many minutes after stopping the sandbox before it gets deleted. Use a negative value to disable auto-delete, or 0 to delete immediately upon stopping. This action modifies the sandbox lifecycle configuration and affects when the sandbox will be permanently removed after being stopped.
Set Autostop Interval
DAYTONA_SET_AUTOSTOP_INTERVALSets the auto-stop interval for a sandbox in the Daytona platform. Use this action when you need to configure how long a sandbox should run idle before automatically stopping. This helps manage resources and reduce costs by automatically stopping unused sandboxes. The interval is specified in minutes. Setting the interval to 0 disables auto-stop, allowing the sandbox to run indefinitely until manually stopped. The API returns the updated sandbox object with the new auto_stop_interval value.