Skip to content

Commit 00ebd98

Browse files
committed
Update read and write tools descriptions
1 parent 2aba911 commit 00ebd98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/sandbox-container/server/containerMcp.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export class ContainerMcpAgent extends McpAgent<Env, Props> {
8585
)
8686
this.server.tool(
8787
'container_file_write',
88-
'Write file contents',
88+
'Create a new file with the provided contents, overwriting the file if it already exists',
8989
{ args: FileWrite },
9090
async ({ args }) => {
9191
args.path = await stripProtocolFromFilePath(args.path)
@@ -118,7 +118,7 @@ export class ContainerMcpAgent extends McpAgent<Env, Props> {
118118
})
119119
this.server.tool(
120120
'container_file_read',
121-
'Read a specific file or list of files within a specific directory',
121+
'Read a specific file or directory',
122122
{ args: FilePathParam },
123123
async ({ args }) => {
124124
const path = await stripProtocolFromFilePath(args.path)

0 commit comments

Comments
 (0)