Language: English Русский
Complete documentation of all implemented features in Ollama Code.
Tool Name: python_dev
Aliases: py, python, pip, pytest
Comprehensive Python development tool for managing projects, virtual environments, and executing Python commands.
| Action | Description | Example |
|---|---|---|
run |
Execute Python script | Run main.py with arguments |
test |
Run pytest | Execute tests with pattern |
lint |
Run pylint | Analyze code quality |
format |
Run black | Format code |
venv_create |
Create virtual environment | Create .venv directory |
venv_activate |
Get activation command | Return source command |
pip_install |
Install packages | Install requests, numpy |
pip_list |
List packages | Show installed packages |
pip_freeze |
Generate requirements | Output to requirements.txt |
mypy |
Type checking | Run mypy on source |
custom |
Custom command | Any Python command |
{
"action": "test",
"test_pattern": "tests/unit/",
"args": ["-v", "--cov=src"]
}
Tool Name: nodejs_dev
Aliases: node, npm, yarn, pnpm, bun
Full Node.js/JavaScript development support with auto-detection of package managers.
| Action | Description | Example |
|---|---|---|
run |
Execute Node.js script | Run server.js |
install |
Install dependencies | Run npm install |
add |
Add packages | Install express |
remove |
Remove packages | Uninstall package |
update |
Update packages | Update dependencies |
run_script |
Run package.json script | Execute npm run build |
test |
Run tests | Execute test suite |
build |
Run build | Compile project |
dev |
Run dev server | Start with hot reload |
lint |
Run linter | ESLint, TSLint |
exec |
Run npx command | Execute npx create-app |
info |
Show package info | Display package details |
list |
List packages | Show installed deps |
outdated |
Check outdated | Find updates |
audit |
Security audit | Check vulnerabilities |
clean |
Clean project | Remove node_modules |
init |
Initialize project | Create package.json |
custom |
Custom command | Any npm/yarn command |
The tool automatically detects the package manager based on lock files:
| Lock File | Package Manager |
|---|---|
pnpm-lock.yaml |
pnpm |
yarn.lock |
yarn |
bun.lock / bun.lockb |
bun |
package-lock.json |
npm |
Tool Name: golang_dev
Aliases: go, golang
Complete Go development support including module management and testing.
| Action | Description | Example |
|---|---|---|
run |
Run Go file | Execute main.go |
build |
Build program | Compile binary |
test |
Run tests | Execute test suite |
test_cover |
Tests with coverage | Generate coverage report |
test_bench |
Run benchmarks | Performance testing |
fmt |
Format code | Run go fmt |
vet |
Static analysis | Run go vet |
lint |
Run golangci-lint | Comprehensive linting |
mod_init |
Initialize module | Create go.mod |
mod_tidy |
Tidy dependencies | Clean up imports |
mod_download |
Download deps | Fetch modules |
mod_verify |
Verify deps | Check integrity |
mod_graph |
Dependency graph | Show dep tree |
get |
Add dependency | Install package |
install |
Install tool | Install CLI tool |
list |
List packages | Show all packages |
doc |
Show documentation | Display docs |
env |
Go environment | Show config |
version |
Go version | Display version |
clean |
Clean cache | Clear build cache |
generate |
Run go generate | Code generation |
custom |
Custom command | Any go command |
Tool Name: php_dev
Aliases: php, composer, phpunit, artisan
Complete PHP development support including Composer and Laravel integration.
| Action | Description | Example |
|---|---|---|
run |
Run PHP script | Execute index.php |
test |
Run PHPUnit | Execute tests |
lint |
Run phpcs | Code style check |
format |
Run PHP-CS-Fixer | Format code |
composer_install |
Install deps | Run composer install |
composer_update |
Update deps | Run composer update |
composer_require |
Add package | Install package |
composer_remove |
Remove package | Uninstall package |
composer_dump_autoload |
Regenerate autoload | Update autoloader |
composer_outdated |
Check outdated | Find updates |
phpunit |
Run PHPUnit directly | Execute tests |
psalm |
Psalm analysis | Static analysis |
phpstan |
PHPStan analysis | Type analysis |
artisan |
Laravel commands | Run Artisan |
custom |
Custom command | Any PHP command |
Read single file content with pagination support.
offset and limit parametersRead multiple files efficiently in one operation.
Write content to file, creating parent directories if needed.
Find and replace text in files with exact matching.
Fast file pattern matching.
{ "pattern": "**/*.ts" }
Search file contents with regex.
{ "pattern": "function\\s+\\w+", "glob": "*.ts" }
List directory contents with filtering.
{ "path": "/project/src", "ignore": ["node_modules"] }
Tool Name: database
Execute database operations across multiple engines.
| Engine | Operations |
|---|---|
| SQLite | Query, schema, backup |
| PostgreSQL | Query, migrations |
| MySQL | Query, procedures |
| MongoDB | Find, aggregate |
# Execute query
> Run SELECT * FROM users LIMIT 10
# Show schema
> Show schema of users table
# Create backup
> Backup database to /backup/db.sql
Tool Name: redis
Redis cache and message broker operations.
| Category | Commands |
|---|---|
| Strings | GET, SET, DEL, INCR |
| Lists | LPUSH, RPUSH, LRANGE |
| Sets | SADD, SMEMBERS, SREM |
| Hashes | HSET, HGET, HGETALL |
| Pub/Sub | PUBLISH, SUBSCRIBE |
| Keys | KEYS, SCAN, TTL |
Tool Name: docker
Complete Docker container management.
| Action | Description |
|---|---|
run |
Run container |
build |
Build image |
ps |
List containers |
images |
List images |
logs |
View logs |
exec |
Execute command |
stop |
Stop container |
rm |
Remove container |
rmi |
Remove image |
compose_up |
Start compose |
compose_down |
Stop compose |
network |
Network operations |
volume |
Volume operations |
Search the web using configured providers.
Fetch and process web content.
Test REST API endpoints.
{
"method": "POST",
"url": "https://api.example.com/users",
"headers": {"Content-Type": "application/json"},
"body": {"name": "Test"}
}
Tool Name: code_analyzer
Analyze code quality with A-F grading.
Tool Name: lsp
Language Server Protocol integration.
Tool Name: diagram_generator
Generate diagrams from descriptions.
Tool Name: git_advanced
Advanced git operations beyond basic commands.
| Category | Operations |
|---|---|
| Stash | save, pop, apply, list, drop |
| Cherry-pick | pick, abort, continue |
| Rebase | interactive, abort, continue |
| Bisect | start, good, bad, reset |
| Worktree | add, remove, list |
| Submodule | add, update, init |
Create and manage task lists for tracking progress.
Statuses: pending, in_progress, completed
Delegate tasks to specialized subagents.
Save facts to long-term memory.
Scopes:
global: User-level memory (~/.ollama-code/)project: Project-specific memory (./OLLAMA_CODE.md)Execute specialized skills.
<ProgressBar
progress={45}
label="Downloading"
speed="5.2 MB/s"
eta="2m 30s"
/>
<ThinkingIndicator
message="Analyzing..."
elapsedTime={45}
showContent
/>
<TokenUsageDisplay
totalTokens={1500}
promptTokens={500}
completionTokens={1000}
tokensPerSecond={45}
/>
<GPUUsage
name="NVIDIA RTX 4090"
utilization={85}
memoryUsed={20 * 1024 * 1024 * 1024}
memoryTotal={24 * 1024 * 1024 * 1024}
/>
Short names for common tools:
| Alias | Tool | Alias | Tool |
|---|---|---|---|
run |
run_shell_command | read |
read_file |
write |
write_file | edit |
edit |
grep |
grep_search | glob |
glob |
ls |
list_directory | todo |
todo_write |
memory |
save_memory | web |
web_search |
agent |
task | py |
python_dev |
npm |
nodejs_dev | go |
golang_dev |
php |
php_dev | fetch |
web_fetch |
The model receives environment information at session start:
## Environment
### Ollama Configuration
- **OLLAMA_BASE_URL**: http://localhost:11434
- **OLLAMA_MODEL**: llama3.2
- **OLLAMA_KEEP_ALIVE**: 5m
- **OLLAMA_API_KEY**: (set/not set)
### System Information
- **Node.js Version**: v24.13.1
- **Platform**: linux
- **Current Working Directory**: /home/user/project
- **Home Directory**: /home/user
### Debug Settings
- **DEBUG Mode**: disabled
Last updated: v0.10.6