manage_source
Perform source code operations in Bitbucket repositories including reading, writing, searching, and managing files and directories.
Instructions
Unified tool for source code operations (read, list_directory, get_history, search, write, delete)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform: 'read_file', 'list_directory', 'get_history', 'search', 'write_file', 'delete_file' | |
| workspace | Yes | Workspace slug | |
| repo_slug | Yes | Repository slug | |
| path | No | Path to the file or directory | |
| ref | No | Commit hash, branch, or tag (default: HEAD) | |
| query | No | Search query | |
| content | No | Content to write to the file | |
| message | No | Commit message | |
| branch | No | Branch to commit to | |
| author | No | Commit author in 'Name <email>' format | |
| max_depth | No | Maximum depth of recursion (for list_directory) | |
| page | No | Page number | |
| pagelen | No | Results per page |