# MCP Tools β Request/Response Examples
This file is generated by `scripts/testing/generate-mcp-examples.js`.
- Workspace: /var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB
- Platform: darwin
- Browser tools: disabled
- AppleScript: disabled
- AI tools: disabled
## setWorkspace
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "setWorkspace",
"arguments": {}
}
}
```
Response (truncated)
```json
{
"success": false,
"message": "Invalid or non-existent workspace path: undefined"
}
```
## initProject
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "initProject",
"arguments": {
"projectName": "Docs",
"projectDescription": "MCP examples"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Tasks file already exists: /var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/.acf/tasks.json\nTasks file already exists. The task board at tasks-table.md has been synced.\nCursor rules file already exists: /var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/.cursor/rules/task_manager_workflow.mdc"
}
```
## addTask
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "addTask",
"arguments": {
"title": "Example task",
"description": "docs",
"priority": "600"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Added new task (ID: 3): \"Example task\"",
"taskId": 3
}
```
## addSubtask
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "addSubtask",
"arguments": {
"parentId": 1,
"title": "Example subtask"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Added new subtask (ID: 1.1) to task 1: \"Example subtask\"",
"subtaskId": "1.1"
}
```
## listTasks
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "listTasks",
"arguments": {
"status": "todo"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"tasks": [
{
"id": 1,
"title": "Project Setup: Docs",
"description": "MCP examples",
"status": "todo",
"priority": 700,
"priorityDisplay": "high",
"dependsOn": [],
"createdAt": "2025-09-20T09:47:43.372Z",
"updatedAt": "2025-09-20T09:47:43.373Z",
"subtasks": [
{
"id": "1.1",
"title": "Example subtask",
"status": "todo",
"createdAt": "2025-09-20T09:47:43.405Z",
"updatedAt": "2025-09-20T09:47:43.405Z",
"activityLog": [
{
"timestamp": "2025-09-20T09:47:43.405Z",
"type": "log",
"message": "Subtask created with title: \"Example subtask\""
}
]
}
],
"relatedFiles": [],
"activityLog": [],
"lastSubtaskIndex": 1
},
{
"id": 2,
"title": "Example task",
"description": "docs",
"status": "todo",
"priority": 600,
"priorityDisplay": "600",
"dependsOn": [],
"createdAt": "2025-09-20T09:47:43.391Z",
"updatedAt": "2025-09-20T09:47:43.392Z",
"subtasks": [],
"lastSubtaskIndex": 0,
"relatedFiles": [],
"activityLog": [
{
"timestamp": "2025-09-20T09:47:43.392Z",
"type": "log",
"message": "Task created with title: \"Example task\""
}
]
},
{
"id": 3,
"title": "Example task",
"description": "docs",
"status": "todo",
"priority": 601,
"priorityDisplay": "600",
"dependsOn": [],
"createdAt": "2025-09-20T09:47:43.402Z",
"updatedAt": "2025-09-20T09:47:43.402Z",
"subtasks": [],
"lastSubtaskIndex": 0,
"relatedFiles": [],
"activityLog": [
{
"timestamp": "2025-09-20T09:47:43.402Z",
"type": "log",
"message": "Task created with title: \"Example task\""
}
]
}
],
"taskTable": "# Docs\nMCP examples\n\n> ## π Project Summary\n> \n> **β
Done**: 0 | **π In Progress**: 0 | **β¬ Todo**: 4 | **β Blocked**: 0\n> \n> **Progress**: 0% `ββββββββββββββββββββ` 0/4 tasks\n> \n> **Priorities**: π¨ **Critical**: 0 | π΄ **High**: 1 | π‘ **Medium**: 3 | π’ **Low**: 0\n\n## Tasks\n\n| ID | Status | Priority | Title | Description |\n|:--:|:------:|:--------:|:------|:------------|\n| #1 | β¬ todo | 700 | **Project Setup: Docs** | MCP examples |\n| #2 | β¬ todo | 600 | **Example task** | docs |\n| #3 | β¬ todo | 601 | **Example task** | docs |\n\n\n### Task #1: Project Setup: Docs - Subtasks\n\n| ID | Status | Title |\n|:--:|:------:|:------|\n| #1.1 | β¬ todo | Example subtask |\n\n"
}
```
## updateStatus
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "updateStatus",
"arguments": {
"id": "1",
"newStatus": "inprogress",
"message": "start"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Status of task 1 updated to inprogress."
}
```
## getNextTask
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "getNextTask",
"arguments": {
"random_string": "x"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Next actionable task (ID: 1): \"Project Setup: Docs\"",
"task": {
"id": 1,
"title": "Project Setup: Docs",
"description": "MCP examples",
"status": "inprogress",
"priority": 700,
"priorityDisplay": "high",
"dependsOn": [],
"createdAt": "2025-09-20T09:47:43.372Z",
"updatedAt": "2025-09-20T09:47:43.410Z",
"subtasks": [
{
"id": "1.1",
"title": "Example subtask",
"status": "todo",
"createdAt": "2025-09-20T09:47:43.405Z",
"updatedAt": "2025-09-20T09:47:43.405Z",
"activityLog": [
{
"timestamp": "2025-09-20T09:47:43.405Z",
"type": "log",
"message": "Subtask created with title: \"Example subtask\""
}
]
}
],
"relatedFiles": [],
"activityLog": [
{
"timestamp": "2025-09-20T09:47:43.410Z",
"type": "log",
"message": "Status changed from \"todo\" to \"inprogress\". Message: start"
}
],
"lastSubtaskIndex": 1
}
}
```
## updateTask
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "updateTask",
"arguments": {
"id": "1",
"title": "Example task (renamed)"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Task 1 updated successfully."
}
```
## removeTask
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "removeTask",
"arguments": {
"id": "1.1"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Removed task/subtask \"Example subtask\" (ID: 1.1)."
}
```
## getContext
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "getContext",
"arguments": {
"id": "1"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"context": {
"id": 1,
"title": "Example task (renamed)",
"description": "MCP examples",
"status": "inprogress",
"priority": 700,
"priorityDisplay": "high",
"dependsOn": [],
"createdAt": "2025-09-20T09:47:43.372Z",
"updatedAt": "2025-09-20T09:47:43.417Z",
"subtasks": [],
"relatedFiles": [],
"activityLog": [
{
"timestamp": "2025-09-20T09:47:43.410Z",
"type": "log",
"message": "Status changed from \"todo\" to \"inprogress\". Message: start"
},
{
"timestamp": "2025-09-20T09:47:43.414Z",
"type": "log",
"message": "Title updated to: \"Example task (renamed)\""
}
],
"lastSubtaskIndex": 1
}
}
```
## generateTaskFiles
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "generateTaskFiles",
"arguments": {}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Generated 3 task files in the '/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/tasks' directory."
}
```
## parsePrd
Skipped (gated by platform or missing credentials).
## expandTask
Skipped (gated by platform or missing credentials).
## reviseTasks
Skipped (gated by platform or missing credentials).
## read_file
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "read_file",
"arguments": {
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"content": "hello",
"mimeType": "text/plain",
"isText": true,
"size": 5,
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt"
}
```
## read_multiple_files
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "read_multiple_files",
"arguments": {
"paths": [
"/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt"
]
}
}
}
```
Response (truncated)
```json
{
"success": true,
"results": [
{
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt",
"success": true,
"content": "hello",
"mimeType": "text/plain",
"isText": true,
"error": null
}
]
}
```
## write_file
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "write_file",
"arguments": {
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt",
"content": "hello"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "File written successfully: /var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt",
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt"
}
```
## copy_file
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "copy_file",
"arguments": {
"source": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt",
"destination": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/b.txt"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Successfully copied /var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt to /var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/b.txt",
"source": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt",
"destination": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/b.txt",
"type": "file"
}
```
## move_file
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "move_file",
"arguments": {
"source": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/b.txt",
"destination": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/c.txt"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Successfully moved /var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/b.txt to /var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/c.txt",
"source": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/b.txt",
"destination": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/c.txt"
}
```
## delete_file
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "delete_file",
"arguments": {
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/c.txt"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Successfully deleted file: /var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/c.txt",
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/c.txt",
"type": "file"
}
```
## list_directory
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "list_directory",
"arguments": {
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB",
"contents": [
{
"name": ".acf",
"type": "directory",
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/.acf",
"size": 96,
"modified": "2025-09-20T09:47:43.373Z"
},
{
"name": ".cursor",
"type": "directory",
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/.cursor",
"size": 96,
"modified": "2025-09-20T09:47:43.375Z"
},
{
"name": "a.txt",
"type": "file",
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt",
"size": 5,
"modified": "2025-09-20T09:47:43.434Z"
},
{
"name": "tasks",
"type": "directory",
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/tasks",
"size": 160,
"modified": "2025-09-20T09:47:43.432Z"
},
{
"name": "tasks-table.md",
"type": "file",
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/tasks-table.md",
"size": 614,
"modified": "2025-09-20T09:47:43.420Z"
}
],
"content": "Directory listing for /var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB:\n[DIR] .acf (96 bytes, modified: 2025-09-20T09:47:43.373Z)\n[DIR] .cursor (96 bytes, modified: 2025-09-20T09:47:43.375Z)\n[FILE] a.txt (5 bytes, modified: 2025-09-20T09:47:43.434Z)\n[DIR] tasks (160 bytes, modified: 2025-09-20T09:47:43.432Z)\n[FILE] tasks-table.md (614 bytes, modified: 2025-09-20T09:47:43.420Z)"
}
```
## create_directory
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "create_directory",
"arguments": {
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/sub"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Directory created successfully: /var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/sub",
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/sub"
}
```
## tree
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "tree",
"arguments": {
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB",
"depth": 2
}
}
}
```
Response (truncated)
```json
{
"success": true,
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB",
"tree": {
"name": "acf-mcp-docs-K0sNrB",
"type": "directory",
"size": 256,
"modified": "2025-09-20T09:47:43.442Z",
"children": [
{
"name": ".acf",
"type": "directory",
"size": 96,
"modified": "2025-09-20T09:47:43.373Z",
"children": [],
"isSymlink": false
},
{
"name": ".cursor",
"type": "directory",
"size": 96,
"modified": "2025-09-20T09:47:43.375Z",
"children": [],
"isSymlink": false
},
{
"name": "a.txt",
"type": "file",
"size": 5,
"modified": "2025-09-20T09:47:43.434Z",
"mimeType": "text/plain",
"isSymlink": false
},
{
"name": "sub",
"type": "directory",
"size": 64,
"modified": "2025-09-20T09:47:43.442Z",
"children": [],
"isSymlink": false
},
{
"name": "tasks",
"type": "directory",
"size": 160,
"modified": "2025-09-20T09:47:43.432Z",
"children": [],
"isSymlink": false
},
{
"name": "tasks-table.md",
"type": "file",
"size": 614,
"modified": "2025-09-20T09:47:43.420Z",
"mimeType": "text/markdown",
"isSymlink": false
}
],
"isSymlink": false
}
}
```
## search_files
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "search_files",
"arguments": {
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB",
"pattern": "a.txt"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"results": [
{
"path": "../../../../../var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt",
"type": "file"
}
],
"count": 1,
"pattern": "a.txt",
"content": "Found 1 files matching \"a.txt\":\n[FILE] ../../../../../var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt"
}
```
## get_file_info
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "get_file_info",
"arguments": {
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt",
"type": "file",
"size": 5,
"created": "2025-09-20T09:47:43.372Z",
"modified": "2025-09-20T09:47:43.434Z",
"accessed": "2025-09-20T09:47:43.435Z",
"mimeType": "text/plain",
"permissions": {
"readable": true,
"writable": true,
"executable": false
}
}
```
## list_allowed_directories
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "list_allowed_directories",
"arguments": {
"random_string": "x"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Allowed directories listed successfully",
"directories": [
"/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB"
]
}
```
## get_filesystem_status
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "get_filesystem_status",
"arguments": {
"random_string": "x"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"readonlyMode": false,
"allowedDirectories": [
"/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB"
]
}
```
## get_config
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "get_config",
"arguments": {
"random_string": "x"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"defaultShell": "/bin/bash",
"blockedCommands": [],
"commandTimeout": 10000,
"version": "0.2.1"
}
```
## set_config_value
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "set_config_value",
"arguments": {
"key": "commandTimeout",
"value": 8000
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Configuration updated: commandTimeout",
"commandTimeout": 8000
}
```
## execute_command
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "execute_command",
"arguments": {
"command": "echo hello",
"waitForCompletion": true,
"shell": "/bin/sh"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"content": "hello",
"command": "echo hello",
"shell": "/bin/sh",
"exitCode": 0,
"stdout": "hello",
"stderr": "",
"message": "Command completed successfully"
}
```
## read_output
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "read_output",
"arguments": {
"pid": 0
}
}
}
```
Response (truncated)
```json
{
"success": false,
"message": "No session found with PID 0"
}
```
## force_terminate
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "force_terminate",
"arguments": {
"pid": 0
}
}
}
```
Response (truncated)
```json
{
"success": false,
"message": "No session found with PID 0"
}
```
## list_sessions
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "list_sessions",
"arguments": {
"random_string": "x"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"sessions": [],
"count": 0
}
```
## list_processes
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "list_processes",
"arguments": {
"random_string": "x"
}
}
}
```
Response (truncated)
```json
{
"success": false,
"message": "spawn EPERM"
}
```
## kill_process
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "kill_process",
"arguments": {
"pid": 0
}
}
}
```
Response (truncated)
```json
{
"success": false,
"message": "Invalid PID provided"
}
```
## search_code
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "search_code",
"arguments": {
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB",
"pattern": "hello"
}
}
}
```
Response (truncated)
```json
{
"success": true,
"content": "Found 1 matches for pattern \"hello\":\n\na.txt:1: hello\n",
"searchPath": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB",
"pattern": "hello",
"matchCount": 1,
"matches": [
{
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt",
"lineNumber": 1,
"line": "hello",
"column": 0,
"matchText": "hello",
"relativePath": "a.txt"
}
],
"truncated": false,
"usingRipgrep": true,
"ripgrepPath": "/Users/abhilashchadhar/uncloud/acf-sep/agentic-control-framework/node_modules/@vscode/ripgrep/bin/rg"
}
```
## edit_block
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "edit_block",
"arguments": {
"file_path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt",
"old_string": "hello",
"new_string": "world",
"normalize_whitespace": true
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Successfully replaced 1 occurrence(s)",
"path": "/var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt",
"replacements": 1,
"diff": "Index: /var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt\n===================================================================\n--- /var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt\n+++ /var/folders/hw/9l4_kqtd4zdgw2v4fml7d1f40000gp/T/acf-mcp-docs-K0sNrB/a.txt\n@@ -1,1 +1,1 @@\n-hello\n\\ No newline at end of file\n+world\n\\ No newline at end of file\n",
"lineCount": 1,
"normalizedWhitespace": true
}
```
## read_url
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "read_url",
"arguments": {
"path": "http://example.com"
}
}
}
```
Response (truncated)
```json
{
"raw": ""
}
```
## start_file_watcher
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "start_file_watcher",
"arguments": {
"debounceDelay": 100
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "File watcher initialized successfully",
"isActive": true,
"config": {
"debounceDelay": 100,
"maxQueueSize": 10,
"enableTaskFiles": true,
"enableTableSync": true,
"enablePriorityRecalc": false,
"retryAttempts": 3,
"retryDelay": 1000,
"maxHistorySize": 50
}
}
```
## stop_file_watcher
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "stop_file_watcher",
"arguments": {}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "File watcher stopped successfully"
}
```
## file_watcher_status
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "file_watcher_status",
"arguments": {}
}
}
```
Response (truncated)
```json
{
"success": true,
"stats": {
"message": "No active file watcher"
}
}
```
## force_sync
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "force_sync",
"arguments": {}
}
}
```
Response (truncated)
```json
{
"success": false,
"message": "No active watcher for force sync"
}
```
## bump_task_priority
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "bump_task_priority",
"arguments": {
"id": "1",
"amount": 25
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Task 1 updated successfully."
}
```
## defer_task_priority
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "defer_task_priority",
"arguments": {
"id": "1",
"amount": 10
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Task 1 updated successfully."
}
```
## prioritize_task
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "prioritize_task",
"arguments": {
"id": "1",
"priority": 880
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Task 1 updated successfully."
}
```
## deprioritize_task
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "deprioritize_task",
"arguments": {
"id": "1",
"priority": 150
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Task 1 updated successfully."
}
```
## configure_time_decay
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "configure_time_decay",
"arguments": {
"enabled": true,
"halfLifeDays": 7
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Time decay configuration updated",
"config": {
"enabled": true,
"model": "exponential",
"rate": 0.05,
"threshold": 7,
"maxBoost": 100,
"priorityWeight": true
}
}
```
## configure_effort_weighting
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "configure_effort_weighting",
"arguments": {
"enabled": true,
"weight": 0.5
}
}
}
```
Response (truncated)
```json
{
"success": true,
"message": "Effort weighting configuration updated",
"config": {
"enabled": true,
"scoreWeight": 0.3,
"complexityWeight": 0.4,
"impactWeight": 0.6,
"urgencyWeight": 0.5,
"decayRate": 0.02,
"boostThreshold": 0.7
}
}
```
## show_algorithm_config
Request
```json
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "show_algorithm_config",
"arguments": {}
}
}
```
Response (truncated)
```json
{
"success": true,
"config": {
"timeDecay": {
"enabled": true,
"model": "exponential",
"rate": 0.05,
"threshold": 7,
"maxBoost": 100,
"priorityWeight": true
},
"effortWeighting": {
"enabled": true,
"scoreWeight": 0.3,
"complexityWeight": 0.4,
"impactWeight": 0.6,
"urgencyWeight": 0.5,
"decayRate": 0.02,
"boostThreshold": 0.7
},
"availableModels": [
{
"name": "linear",
"description": "Constant decay rate over time",
"useCase": "Predictable, steady priority reduction"
},
{
"name": "exponential",
"description": "Accelerating decay over time",
"useCase": "Rapid priority reduction for old tasks"
},
{
"name": "logarithmic",
"description": "Diminishing decay over time",
"useCase": "Gentle priority reduction that slows down"
},
{
"name": "sigmoid",
"description": "S-curve decay with phases",
"useCase": "Complex decay pattern with inflection point"
},
{
"name": "adaptive",
"description": "Intelligent decay based on task characteristics",
"useCase": "Context-aware priority management"
}
]
}
}
```
## browser_navigate
Skipped (gated by platform or missing credentials).
## applescript_execute
Skipped (gated by platform or missing credentials).
## browser_navigate_back
Skipped (gated by platform or missing credentials).
## browser_navigate_forward
Skipped (gated by platform or missing credentials).
## browser_hover
Skipped (gated by platform or missing credentials).
## browser_drag
Skipped (gated by platform or missing credentials).
## browser_select_option
Skipped (gated by platform or missing credentials).
## browser_press_key
Skipped (gated by platform or missing credentials).
## browser_snapshot
Skipped (gated by platform or missing credentials).
## browser_console_messages
Skipped (gated by platform or missing credentials).
## browser_network_requests
Skipped (gated by platform or missing credentials).
## browser_tab_list
Skipped (gated by platform or missing credentials).
## browser_tab_new
Skipped (gated by platform or missing credentials).
## browser_tab_select
Skipped (gated by platform or missing credentials).
## browser_tab_close
Skipped (gated by platform or missing credentials).
## browser_file_upload
Skipped (gated by platform or missing credentials).
## browser_wait
Skipped (gated by platform or missing credentials).
## browser_wait_for
Skipped (gated by platform or missing credentials).
## browser_resize
Skipped (gated by platform or missing credentials).
## browser_handle_dialog
Skipped (gated by platform or missing credentials).