WorkspaceTools
WorkspaceTools =
object
Defined in: workspace/provider.ts:74
createWorkspaceToolProvider’s tools — file tools, bash, optional fetchUrl, and one
combined describeWorkspaceEnv. fetchUrl is present unless constructed with
fetchUrl: false. Named for its actual scope (this workspace’s own file/bash sandbox plus
fetchUrl when enabled), not a generic “describeEnvironment” — a project may have other
tools (e.g. a web-search tool) with their own network access this doesn’t cover, so the
name shouldn’t imply completeness. A plain object-literal type alias, not
interface ... extends FileTools, BashTools — see BashProviderTools’s doc comment
(packages/tools/src/bash/provider.ts) for why: an interface anywhere in the shape loses
the implicit index signature ToolProvider<Tools extends ToolSet> needs.
Properties
Section titled “Properties”bash:
BashTools["bash"]
Defined in: workspace/provider.ts:80
describeWorkspaceEnv
Section titled “describeWorkspaceEnv”describeWorkspaceEnv:
DescribeWorkspaceEnvTool
Defined in: workspace/provider.ts:82
editFile
Section titled “editFile”editFile:
FileTools["editFile"]
Defined in: workspace/provider.ts:77
fetchUrl?
Section titled “fetchUrl?”
optionalfetchUrl?:FetchUrlTool
Defined in: workspace/provider.ts:81
glob:
SearchTools["glob"]
Defined in: workspace/provider.ts:79
grep:
SearchTools["grep"]
Defined in: workspace/provider.ts:78
readFile
Section titled “readFile”readFile:
FileTools["readFile"]
Defined in: workspace/provider.ts:75
writeFile
Section titled “writeFile”writeFile:
FileTools["writeFile"]
Defined in: workspace/provider.ts:76