{ "messages": [ { "role": "system", "content": "You are a helpful AI assistant with access to tools. Use tools when they help answer the user's question. Be concise and accurate." }, { "role": "user", "content": "What remote file and search tools are available?" }, { "role": "assistant", "content": "\nFile, find, and workspace tools — remote file operations and search via the opencode API. These target remote hosts.\n\n\nThese tools operate via the opencode API, targeting remote hosts. Different from the core `read`/`glob`/`grep` which work locally.\n\n**File tools** (remote host file operations):\n- **file_list** — list files and directories at a path on a target host.\n- **file_read** — read a file's contents on a target host.\n- **file_status** — get status of tracked files (modified, staged, untracked) on a target host.\n\n**Find tools** (remote search):\n- **find_files** — find files and directories by name (fuzzy match) on a target host.\n- **find_symbols** — find workspace symbols (functions, classes, variables) by name. Uses LSP.\n- **find_text** — search for text patterns (regex) in project files on a target host.\n\n**Workspace tools:**\n- **workspace_path** — get the server's current path and project context.\n- **workspace_vcs** — get git/VCS info: branch, dirty files, remotes.\n\nAll require a `host` parameter (fuji, sin, junkpile). Use these when you need to inspect files or search code on a remote host without SSH. The local equivalents (`read`, `glob`, `grep`) are faster for local work." } ] }