u
This commit is contained in:
@@ -65,11 +65,7 @@ export function deleteVfsFile(vfsRoot, relPath) {
|
||||
export function createRmTool({ googleAuthId }) {
|
||||
return defineTool({
|
||||
name: 'rm',
|
||||
description:
|
||||
'Delete a single file from the virtual filesystem (VFS). ' +
|
||||
'Use this to remove a SKILL file: reset_vfs intentionally preserves skills, so rm is how a skill is ' +
|
||||
'deleted on purpose. Also use it to drop one unwanted artifact. ' +
|
||||
'Deletion is immediate and cannot be undone. Use reset_vfs to clear many files or a directory at once.',
|
||||
description: 'Delete single VFS file (e.g. specific artifact or SKILL file). Irreversible.',
|
||||
strict: false,
|
||||
parameters: {
|
||||
type: 'object',
|
||||
@@ -78,9 +74,7 @@ export function createRmTool({ googleAuthId }) {
|
||||
properties: {
|
||||
filename: {
|
||||
type: 'string',
|
||||
description:
|
||||
'File to delete, relative to the VFS root using forward slashes ' +
|
||||
'(e.g. "image-pipeline.SKILL", "notes.md", "labels/sheet1.png").',
|
||||
description: 'VFS file path to delete.',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user