File size: 3,259 Bytes
bd43184
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
  "source": "opencode docs plus local @opencode-ai/plugin SDK types",
  "harness": "bunx opencode-ai@latest run --model qwen35/qwen35 --format json",
  "config": "/private/tmp/callers/configs/opencode-qwen35.json",
  "tools": [
    {
      "name": "bash",
      "description": "Execute shell commands in the project environment.",
      "required": [
        "command"
      ],
      "properties": [
        "command",
        "description",
        "timeout"
      ]
    },
    {
      "name": "read",
      "description": "Read file contents, optionally with a line range.",
      "required": [
        "filePath"
      ],
      "properties": [
        "filePath",
        "offset",
        "limit"
      ]
    },
    {
      "name": "edit",
      "description": "Modify an existing file using exact string replacement.",
      "required": [
        "filePath",
        "oldString",
        "newString"
      ],
      "properties": [
        "filePath",
        "oldString",
        "newString",
        "replaceAll"
      ]
    },
    {
      "name": "write",
      "description": "Create a new file or overwrite an existing one.",
      "required": [
        "filePath",
        "content"
      ],
      "properties": [
        "filePath",
        "content"
      ]
    },
    {
      "name": "grep",
      "description": "Search file contents with a regular expression.",
      "required": [
        "pattern"
      ],
      "properties": [
        "pattern",
        "path",
        "include"
      ]
    },
    {
      "name": "glob",
      "description": "Find files by glob pattern.",
      "required": [
        "pattern"
      ],
      "properties": [
        "pattern",
        "path"
      ]
    },
    {
      "name": "lsp",
      "description": "Use language-server code intelligence.",
      "required": [
        "operation"
      ],
      "properties": [
        "operation",
        "filePath",
        "line",
        "character",
        "symbol"
      ]
    },
    {
      "name": "apply_patch",
      "description": "Apply a patch with paths embedded in patch marker lines.",
      "required": [
        "patchText"
      ],
      "properties": [
        "patchText"
      ]
    },
    {
      "name": "skill",
      "description": "Load a SKILL.md instruction file.",
      "required": [
        "name"
      ],
      "properties": [
        "name"
      ]
    },
    {
      "name": "todowrite",
      "description": "Create or update the coding-session todo list.",
      "required": [
        "todos"
      ],
      "properties": [
        "todos"
      ]
    },
    {
      "name": "webfetch",
      "description": "Fetch and read a web page.",
      "required": [
        "url"
      ],
      "properties": [
        "url",
        "prompt"
      ]
    },
    {
      "name": "websearch",
      "description": "Search the web when enabled by provider or EXA config.",
      "required": [
        "query"
      ],
      "properties": [
        "query"
      ]
    },
    {
      "name": "task",
      "description": "Run a subtask with another agent.",
      "required": [
        "description",
        "prompt"
      ],
      "properties": [
        "description",
        "prompt",
        "subagent_type"
      ]
    }
  ]
}