cancel_job desktop destructive
Cancel a running async PowerShell job. Use this to stop long-running commands that are no longer needed.
Parameters
job_id: string- Job ID of the job to cancel
dev — Desktop Development Tools31 MCP tools.
Machine-readable: /reference/api/tools/dev.json
cancel_job desktop destructiveCancel a running async PowerShell job. Use this to stop long-running commands that are no longer needed.
job_id : stringconfig_add_safe_dir desktop confirm destructiveAdd a directory to the safe directories list, allowing file operations in that path.
path : stringvalidate_exists : boolean (optional)trueconfig_apply_preset desktop confirm destructiveApply a configuration preset (development, production, or testing). Changes multiple settings atomically.
preset_name : stringconfig_get desktop destructiveGet a specific configuration value using dot notation (e.g., 'polling.task_interval_seconds').
key : stringconfig_list desktop destructiveList all desktop agent configuration settings with metadata (file path, last modified, size).
config_list_presets desktop destructiveList available configuration presets with their settings.
config_remove_safe_dir desktop confirm destructiveRemove a directory from the safe directories list. Critical directories (Desktop, Documents, Downloads) are protected.
path : stringforce : boolean (optional)falseconfig_reset desktop confirm destructiveReset configuration to defaults from settings.example.json. Creates a timestamped backup before resetting.
config_set desktop confirm destructiveSet a configuration value. Validates type and range constraints before saving.
key : stringvaluevalidate : boolean (optional)trueconfig_validate desktop destructiveValidate the current configuration. Checks paths exist, values are in range, required keys present, and URL formats.
discover_claude_projects desktop read-onlyDiscover all Claude Code projects on the user's machine. Scans ~/.claude/projects/ for project directories.
edit_block desktop confirm destructiveSurgically edit a file by replacing a text block. Uses fuzzy matching to find old_text and replace with new_text.
path : stringold_text : stringnew_text : stringfuzzy : boolean (optional)trueexecute_bash desktop confirm destructiveExecute a bash command on user's Linux desktop/server. Captures stdout, stderr, and exit code.
command : stringtimeout : integer (optional)30cwd : string (optional)execute_bash_async desktop confirm destructiveExecute a bash command asynchronously on user's Linux desktop/server. Returns a job_id immediately for long-running commands.
command : stringtimeout : integer (optional)300cwd : string (optional)execute_cli_agent desktop destructiveExecute a headless Claude Code CLI agent on user's desktop. Runs Claude CLI with specified persona and task.
system_prompt_b64 : stringtask : stringmax_turns : integer (optional)10max_budget_usd : number (optional)1timeout : integer (optional)300working_directory : string (optional)execute_powershell desktop confirm destructiveExecute a PowerShell command on user's desktop. Whitelisted cmdlets only. Captures stdout/stderr.
command : stringtimeout : integer (optional)30execute_powershell_async desktop confirm destructiveExecute a PowerShell command asynchronously on user's desktop. Always returns a job_id immediately for long-running commands.
command : stringtimeout : integer (optional)300get_job_status desktop destructiveGet status of an async PowerShell job. Use this after execute_powershell returns a job_id to check if the job completed and get results.
job_id : stringhealth_check_repo desktop read-onlyCheck if a repository path is valid and accessible from the desktop agent. Returns git status, file count, and Claude project association.
repo_path : stringingest_claude_ai_export desktop destructiveIngest a Claude.ai data export (conversations, projects) into the session database. Accepts exported JSON data.
export_path : string (optional)export_data : object (optional)ingest_claude_sessions desktop read-onlyIncrementally ingest Claude Code sessions. Compares file mtimes against known_mtime_map to only parse changed sessions. Returns full session data for syncing to the cloud.
repo_path : string (optional)known_session_ids : array (optional)known_mtime_map : object (optional)list_claude_projects desktop read-onlyList Claude Code projects with metadata (session count, latest activity, project hash). Provides a summary overview of all projects.
list_directory desktop destructiveList files and directories on user's desktop. Supports recursive listing with depth limit.
path : stringrecursive : boolean (optional)falsemax_depth : integer (optional)3list_jobs desktop destructiveList all async PowerShell jobs. Shows job IDs, status, and progress for active and optionally completed jobs.
include_completed : boolean (optional)falseparse_claude_session desktop read-onlyParse a single Claude Code session JSONL file. Returns full session data including messages, tool usage, cost estimate, and timestamps.
session_path : stringread_file desktop destructiveRead contents of a file from user's desktop. Supports text files with various encodings.
path : stringencoding : string (optional)"utf-8"resolve_repo_path desktop read-onlyResolve a repository path to its canonical form and derive the Claude project hash. Handles Windows, WSL, and Unix path formats.
repo_path : stringscan_claude_sessions desktop read-onlyScan Claude Code sessions for a specific project. Returns session metadata (ID, timestamps, cost, turns) without full content.
repo_path : string (optional)project_path : string (optional)search_claude_sessions desktop read-onlySearch Claude Code sessions by keyword. Searches session summaries and optionally message content. Returns matching sessions ranked by relevance.
query : stringproject_hash : string (optional)repo_path : string (optional)search_content : boolean (optional)falsemax_results : integer (optional)20search_code desktop destructiveSearch for patterns in code files on user's desktop. Uses regex matching with context lines.
path : stringpattern : stringfile_extensions : array (optional)context_lines : integer (optional)2write_file desktop confirm destructiveWrite content to a file on user's desktop. Creates parent directories if needed. Backs up existing files.
path : stringcontent : stringencoding : string (optional)"utf-8"