get_readme
Retrieve the README file from a Bitbucket repository by specifying the repo slug. Automatically finds and reads README.md, README.txt, or readme.rst, with optional branch and workspace settings.
Instructions
Fetch and read the README file of a repository. Automatically finds README.md, README.txt, or readme.rst.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_slug": "<repo_slug>"
},
"name": "get_readme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | The branch name. Defaults to the main branch. | |
| repo_slug | Yes | The repository slug. | |
| workspace | No | The workspace slug. Optional if BITBUCKET_WORKSPACE env var is set. |