Buckets:

binarydoc's picture
download
raw
1.69 kB
[
{
"name": "read",
"description": "Read the contents of a file. Supports text files and images. Use offset and limit for large text files.",
"parameters": {
"path": {"type": "string", "description": "Path to the file to read (relative or absolute)", "required": true},
"offset": {"type": "number", "description": "Line number to start reading from (1-indexed)", "required": false},
"limit": {"type": "number", "description": "Maximum number of lines to read", "required": false}
}
},
{
"name": "bash",
"description": "Execute a bash command in the current working directory and return stdout and stderr.",
"parameters": {
"command": {"type": "string", "description": "Exact Bash command to execute", "required": true},
"timeout": {"type": "number", "description": "Optional timeout in seconds", "required": false}
}
},
{
"name": "edit",
"description": "Edit one file using one or more exact, non-overlapping text replacements.",
"parameters": {
"path": {"type": "string", "description": "Path to the file to edit (relative or absolute)", "required": true},
"edits": {"type": "array", "description": "Array of objects with exact oldText and replacement newText strings", "required": true}
}
},
{
"name": "write",
"description": "Create or completely overwrite a file, creating parent directories automatically.",
"parameters": {
"path": {"type": "string", "description": "Path to the file to write (relative or absolute)", "required": true},
"content": {"type": "string", "description": "Complete content to write to the file", "required": true}
}
}
]

Xet Storage Details

Size:
1.69 kB
·
Xet hash:
6003182f9cdf938953199ad86b546218936a821e47c7056e435793bff45bef31

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.