mono/packages/ai-tools/tests/tool-calls-model.json
2025-02-20 14:44:05 +01:00

75 lines
1.9 KiB
JSON

{
"comment": "Tool calls for setting up a TypeScript boilerplate project",
"tool_calls": [
{
"tool": "modify_project_files",
"params": {
"files": [
{
"path": "package.json",
"content": "{...}",
"comment": "Basic package.json with TypeScript configuration"
},
{
"path": "tsconfig.json",
"content": "{...}",
"comment": "TypeScript compiler configuration"
},
{
"path": ".eslintrc",
"content": "{`...}",
"comment": "ESLint configuration for code linting"
},
{
"path": "src/index.ts",
"content": "console.log('Hello TypeScript!');",
"comment": "Entry point file"
},
{
"path": "README.md",
"content": "# TypeScript Boilerplate\n...",
"comment": "Project documentation"
}
]
}
},
{
"tool": "install_dependency",
"params": {
"dependencies": [
"typescript",
"@types/node",
"eslint",
"@typescript-eslint/parser",
"@typescript-eslint/eslint-plugin"
]
},
"comment": "Install essential TypeScript dependencies"
},
{
"tool": "execute_command",
"params": {
"command": "npx tsc --init"
},
"comment": "Initialize TypeScript configuration"
},
{
"tool": "init_repository",
"params": {},
"comment": "Initialize git repository"
},
{
"tool": "commit_files_git",
"params": {
"files": [
"package.json",
"tsconfig.json",
".eslintrc",
"src/index.ts",
"README.md"
],
"message": "Initial commit: TypeScript boilerplate setup"
}
}
]
}