github_repos_get_readme_in_directory
Retrieves the README for a specified directory in a GitHub repository, with an optional branch, tag, or commit reference.
Instructions
Get a repository README for a directory
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": {
"owner": "<owner>",
"repo": "<repo>",
"dir": "<dir>"
},
"name": "github_repos_get_readme_in_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | dir | |
| ref | No | The name of the commit/branch/tag. Default: the repository’s default branch. | |
| repo | Yes | repo | |
| owner | Yes | owner |