apply_patch
ChatGPTApply a provided text patch to a specified file on an authorized device; changes file contents. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input. Optional operationId (UUID) protects this invocation from duplicate execution: reuse the ID only for this exact invocation and query get_operation_status after uncertain delivery. Never retry a side-effect with a new ID blindly.
copy_file
ChatGPTCopy a file or directory to a specified destination on an authorized device. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input. Optional operationId (UUID) protects this invocation from duplicate execution: reuse the ID only for this exact invocation and query get_operation_status after uncertain delivery. Never retry a side-effect with a new ID blindly.
create_directory
ChatGPTCreate a new directory at the specified path on an authorized device. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input. Optional operationId (UUID) protects this invocation from duplicate execution: reuse the ID only for this exact invocation and query get_operation_status after uncertain delivery. Never retry a side-effect with a new ID blindly.
edit_block
ChatGPTReplace one matching old_string with new_string in the specified file on an authorized device. Rejects missing or ambiguous matches. Optional backup and expectedFileHash protect edits. Modifies file content. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input. Optional operationId (UUID) protects this invocation from duplicate execution: reuse the ID only for this exact invocation and query get_operation_status after uncertain delivery. Never retry a side-effect with a new ID blindly.
execute_code
ChatGPTExecute supplied Python, Node.js, shell or PowerShell code on an authorized device. Code MAY modify files, start programs or communicate externally. Output may be shortened by AI Efficient Mode; request full or raw output if necessary. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input. Optional operationId (UUID) protects this invocation from duplicate execution: reuse the ID only for this exact invocation and query get_operation_status after uncertain delivery. Never retry a side-effect with a new ID blindly.
force_terminate
ChatGPTForcefully terminate the existing terminal process identified by sessionId or pid, which can lose unsaved work. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input. Optional operationId (UUID) protects this invocation from duplicate execution: reuse the ID only for this exact invocation and query get_operation_status after uncertain delivery. Never retry a side-effect with a new ID blindly.
get_device_info
ChatGPTRead registered device details such as its platform, version and supported capabilities. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input.
get_directory_tree
ChatGPTList a directory hierarchy up to the requested depth and entry limit without modifying files. Results may be partial; use hasMore and the returned offset for continuation. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input.
get_file_checksum
ChatGPTCompute a checksum of a file on an authorized device without changing it. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input.
get_file_info
ChatGPTRead file or directory metadata, such as size and timestamps, without modifying it. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input.
get_more_search_results
ChatGPTRetrieve subsequent results for an existing asynchronous file search by searchId, offset and length. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input.
get_operation_status
ChatGPTCheck a prior RemoteCommand operation by its stable operationId without executing the command again. Use after a timeout, disconnect, or uncertain result. Status may be started, completed, or outcome_unknown. Do not blindly retry a command with a different UUID.
get_process_status
ChatGPTReport status for an existing terminal session by sessionId or pid without sending input or ending it. Use returned cursors when output is incomplete. Reading output does not terminate a running session. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input.
get_profile
ChatGPTReturn the RemoteCommand account and workspace authenticated by this connection. Use this to identify the correct account before selecting a device.
interact_with_process
ChatGPTSend input text, EOF, or an interrupt signal to an existing terminal process by sessionId or pid. May read process output. Does not start a new process or accept a new command; input may cause the existing process to change files or access the network. Use returned cursors when output is incomplete. Reading output does not terminate a running session. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input. Optional operationId (UUID) protects this invocation from duplicate execution: reuse the ID only for this exact invocation and query get_operation_status after uncertain delivery. Never retry a side-effect with a new ID blindly.
list_approvals
ChatGPTList operation approval requests for an authorized device; does not approve or execute requests. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input.
list_command_templates
ChatGPTList the saved command templates available on an authorized device. Does not execute any command. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input.
list_devices
ChatGPTList the devices registered to the authenticated RemoteCommand account, including their connection status. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input.
list_directory
ChatGPTList file and folder names under a specified directory on an authorized device, with pagination. Results may be partial; use hasMore and the returned offset for continuation. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input.
list_searches
ChatGPTList the existing asynchronous file-search sessions on an authorized device. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input.
list_sessions
ChatGPTList existing terminal process sessions on an authorized device without starting or ending any session. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input.
move_file
ChatGPTMove or rename a file or directory to a specified destination on an authorized device. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input. Optional operationId (UUID) protects this invocation from duplicate execution: reuse the ID only for this exact invocation and query get_operation_status after uncertain delivery. Never retry a side-effect with a new ID blindly.
ping
ChatGPTCheck whether the authorized RemoteCommand agent is reachable without executing a command. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input.
preflight_command
ChatGPTCheck command policy, connectivity and working-directory availability without executing the proposed command. A passing preflight does not guarantee execution. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input.
read_file
ChatGPTRead a file or specified byte/line range on an authorized device without changing the file. Large results may be paginated; check hasMore and continuation offsets. Binary ranges can be base64 encoded. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input.
read_multiple_files
ChatGPTRead bounded contents from a list of file paths on an authorized device without modifying them. Large results may be paginated; check hasMore and continuation offsets. Binary ranges can be base64 encoded. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input.
read_process_output
ChatGPTRead buffered stdout and stderr from an existing terminal session by sessionId or pid. Supports cursors without sending input. Use returned cursors when output is incomplete. Reading output does not terminate a running session. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input.
run_command_template
ChatGPTRun an existing saved command template identified by templateId and revision on an authorized device. The command may modify files or access the network. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input. Optional operationId (UUID) protects this invocation from duplicate execution: reuse the ID only for this exact invocation and query get_operation_status after uncertain delivery. Never retry a side-effect with a new ID blindly.
run_tests
ChatGPTRun a specified test command in a working directory on an authorized device. Like any shell command, it MAY change files or communicate externally. Output may be shortened by AI Efficient Mode; request full or raw output if necessary. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input. Optional operationId (UUID) protects this invocation from duplicate execution: reuse the ID only for this exact invocation and query get_operation_status after uncertain delivery. Never retry a side-effect with a new ID blindly.
search_files
ChatGPTSearch filenames or content under the specified directory on an authorized device. Returns bounded matches without changing files. Results may be partial; use hasMore and the returned offset for continuation. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input.
start_process
ChatGPTStart a command in a persistent terminal process on an authorized device. The command MAY modify files, start programs or communicate externally. Output may be shortened by AI Efficient Mode; request full or raw output if necessary. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input. Optional operationId (UUID) protects this invocation from duplicate execution: reuse the ID only for this exact invocation and query get_operation_status after uncertain delivery. Never retry a side-effect with a new ID blindly.
start_search
ChatGPTStart an asynchronous file search on an authorized device, creating only a temporary search session without changing searched files. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input. Optional operationId (UUID) protects this invocation from duplicate execution: reuse the ID only for this exact invocation and query get_operation_status after uncertain delivery. Never retry a side-effect with a new ID blindly.
stop_search
ChatGPTStop the asynchronous file-search session identified by searchId. Does not delete searched files. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input. Optional operationId (UUID) protects this invocation from duplicate execution: reuse the ID only for this exact invocation and query get_operation_status after uncertain delivery. Never retry a side-effect with a new ID blindly.
write_file
ChatGPTCreate, replace, or append content to a file at a specified path on an authorized device. May overwrite data. If retryAfterSeconds is provided, wait at least that long. If retryable=false, do not retry unchanged input. Optional operationId (UUID) protects this invocation from duplicate execution: reuse the ID only for this exact invocation and query get_operation_status after uncertain delivery. Never retry a side-effect with a new ID blindly.