tools.jsonβ’7.82 kB
{
"tools": [
{
"name": "create_directory",
"description": "Create a new directory or ensure a directory exists.",
"category": "filesystem",
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "The path of the directory to create or ensure exists."
}
},
"required": [
"path"
]
}
},
{
"name": "directory_tree",
"description": "Get a recursive tree view of files and directories as a JSON structure.",
"category": "filesystem",
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "The path to the directory to list."
}
},
"required": [
"path"
]
}
},
{
"name": "edit_file",
"description": "Make line-based edits to a text file.",
"category": "filesystem",
"parameters": {
"type": "object",
"properties": {
"edits": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Edit"
},
"description": "List of edits to apply to the file."
},
"path": {
"type": "string",
"description": "The path of the file to edit."
},
"dryRun": {
"type": "boolean",
"default": false,
"description": "(Optional) Preview changes using git-style diff format."
}
},
"required": [
"edits",
"path"
]
}
},
{
"name": "get_file_info",
"description": "Retrieve detailed metadata about a file or directory.",
"category": "filesystem",
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "The path of the file or directory to get information about."
}
},
"required": [
"path"
]
}
},
{
"name": "list_allowed_directories",
"description": "Returns the list of directories that this server is allowed to access. Use this to understand which directories are available before trying to access files.",
"category": null,
"parameters": {}
},
{
"name": "list_directory",
"description": "Get a detailed listing of all files and directories in a specified path. Results clearly distinguish between files and directories with [FILE] and [DIR] prefixes",
"category": "filesystem",
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "The path of the directory to list."
}
},
"required": [
"path"
]
}
},
{
"name": "move_file",
"description": "Move or rename files and directories.",
"category": "filesystem",
"parameters": {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "The source path of the file or directory to move."
},
"destination": {
"type": "string",
"description": "The destination path where the file or directory should be moved."
}
},
"required": [
"source",
"destination"
]
}
},
{
"name": "read_file",
"description": "Read the complete contents of a file from the file system.",
"category": "filesystem",
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "The path of the file to read."
}
},
"required": [
"path"
]
}
},
{
"name": "read_multiple_files",
"description": "Read the contents of multiple files simultaneously.",
"category": "filesystem",
"parameters": {
"type": "object",
"properties": {
"paths": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of file paths to read."
}
},
"required": [
"paths"
]
}
},
{
"name": "search_files",
"description": "Recursively search for files and directories matching a pattern.",
"category": "filesystem",
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "The starting path for the search."
},
"pattern": {
"type": "string",
"description": "The pattern to match file and directory names."
},
"excludePatterns": {
"type": "array",
"items": {
"type": "string"
},
"description": "(Optional) List of patterns to exclude from the search."
}
},
"required": [
"path",
"pattern"
]
}
},
{
"name": "write_file",
"description": "Create a new file or completely overwrite an existing file with new content.",
"category": "filesystem",
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "The path of the file to write."
},
"content": {
"type": "string",
"description": "The content to write to the file."
}
},
"required": [
"path",
"content"
]
}
}
],
"metadata": {
"discovery_method": "static",
"last_updated": "2024-07-29T00:00:00Z",
"template_name": "filesystem"
}
}