423 lines
9.5 KiB
JSON
423 lines
9.5 KiB
JSON
{
|
|
"email": [
|
|
{
|
|
"name": "send_email",
|
|
"description": "Sends an email",
|
|
"category": "email",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"recipient": {
|
|
"type": [
|
|
"string",
|
|
"array"
|
|
],
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "The email address of the recipient(s). Can be a single email or an array of emails. For \"me\", use the default email address"
|
|
},
|
|
"subject": {
|
|
"type": "string",
|
|
"description": "the subject",
|
|
"optional": true
|
|
},
|
|
"body": {
|
|
"type": "string",
|
|
"description": "Markdown formatted body of the email",
|
|
"optional": true
|
|
}
|
|
},
|
|
"required": [
|
|
"url"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"search": [
|
|
{
|
|
"name": "google",
|
|
"description": "Searches Google for the given query",
|
|
"category": "search",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"query": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"query"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "serpapi",
|
|
"description": "Searches Serpapi (finds locations (engine:google_local), places on the map (engine:google_maps) ) for the given query",
|
|
"category": "search",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"query": {
|
|
"type": "string"
|
|
},
|
|
"engine": {
|
|
"type": "string",
|
|
"default": "google"
|
|
}
|
|
},
|
|
"required": [
|
|
"query"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"interact": [
|
|
{
|
|
"name": "send_email",
|
|
"description": "Sends an email",
|
|
"category": "email",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"recipient": {
|
|
"type": [
|
|
"string",
|
|
"array"
|
|
],
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "The email address of the recipient(s). Can be a single email or an array of emails. For \"me\", use the default email address"
|
|
},
|
|
"subject": {
|
|
"type": "string",
|
|
"description": "the subject",
|
|
"optional": true
|
|
},
|
|
"body": {
|
|
"type": "string",
|
|
"description": "Markdown formatted body of the email",
|
|
"optional": true
|
|
}
|
|
},
|
|
"required": [
|
|
"url"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"fs": [
|
|
{
|
|
"name": "list_files",
|
|
"description": "List all files in a directory",
|
|
"category": "fs",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"directory": {
|
|
"type": "string"
|
|
},
|
|
"pattern": {
|
|
"type": "string",
|
|
"optional": true
|
|
}
|
|
},
|
|
"required": [
|
|
"directory"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "read_files",
|
|
"description": "Reads files in a directory with a given pattern",
|
|
"category": "fs",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"directory": {
|
|
"type": "string"
|
|
},
|
|
"pattern": {
|
|
"type": "string",
|
|
"optional": true
|
|
}
|
|
},
|
|
"required": [
|
|
"directory"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "remove_file",
|
|
"description": "Remove a file at given path",
|
|
"category": "fs",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"path": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"path"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "rename_file",
|
|
"description": "Rename or move a file or directory",
|
|
"category": "fs",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"src": {
|
|
"type": "string"
|
|
},
|
|
"dst": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"path"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "modify_project_files",
|
|
"description": "Modify existing project files",
|
|
"category": "fs",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"files": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"path": {
|
|
"type": "string"
|
|
},
|
|
"content": {
|
|
"type": "string",
|
|
"description": "base64 encoded string"
|
|
}
|
|
},
|
|
"required": [
|
|
"path",
|
|
"content"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"files"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "create_file",
|
|
"description": "Creates a file, given a path and content",
|
|
"category": "fs",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"file": {
|
|
"type": "object",
|
|
"properties": {
|
|
"path": {
|
|
"type": "string"
|
|
},
|
|
"content": {
|
|
"type": "string",
|
|
"description": "base64 encoded string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"file"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "file_exists",
|
|
"description": "check if a file or folder exists",
|
|
"category": "fs",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"file": {
|
|
"type": "object",
|
|
"properties": {
|
|
"path": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"file"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "read_file",
|
|
"description": "read a file, at given a path",
|
|
"category": "fs",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"file": {
|
|
"type": "object",
|
|
"properties": {
|
|
"path": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"file"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"npm": [
|
|
{
|
|
"name": "build_project",
|
|
"description": "Build project using pnpm build command",
|
|
"category": "npm",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": []
|
|
}
|
|
},
|
|
{
|
|
"name": "run_npm",
|
|
"description": "Run an npm/pnpm command",
|
|
"category": "npm",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"command": {
|
|
"type": "string",
|
|
"description": "Command to run (e.g. install, test, etc)"
|
|
},
|
|
"args": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "Additional arguments for the command",
|
|
"optional": true
|
|
}
|
|
},
|
|
"required": [
|
|
"command"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "install_dependency",
|
|
"description": "Install a dependency using npm",
|
|
"category": "npm",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"dependencies": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"dependencies"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"git": [
|
|
{
|
|
"name": "init_repository",
|
|
"description": "Initialize a new git repository",
|
|
"category": "git",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": []
|
|
}
|
|
},
|
|
{
|
|
"name": "commit_files_git",
|
|
"description": "Commit files using git",
|
|
"category": "git",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"files": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"files"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"terminal": [
|
|
{
|
|
"name": "execute_command",
|
|
"description": "Execute a terminal command and capture output",
|
|
"category": "terminal",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"command": {
|
|
"type": "string",
|
|
"description": "Command to execute"
|
|
},
|
|
"args": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "Command arguments",
|
|
"optional": true
|
|
},
|
|
"cwd": {
|
|
"type": "string",
|
|
"description": "Working directory for command execution",
|
|
"optional": true
|
|
},
|
|
"background": {
|
|
"type": "boolean",
|
|
"description": "Run command in background (non-blocking)",
|
|
"optional": true
|
|
},
|
|
"window": {
|
|
"type": "boolean",
|
|
"description": "Open command in new terminal window",
|
|
"optional": true
|
|
},
|
|
"detached": {
|
|
"type": "boolean",
|
|
"description": "Run process detached from parent",
|
|
"optional": true
|
|
}
|
|
},
|
|
"required": [
|
|
"command"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |