get_individual_file_content
Retrieve the contents of a single file from a GitHub repository using owner, repository name, file path, and optional branch, enabling analysis without local cloning.
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>",
"path": "<path>"
},
"name": "get_individual_file_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner (e.g., "skydeckai") | |
| repo | Yes | Repository name (e.g., "mcp-server-aidd") | |
| path | Yes | Path to the file within the repository (e.g., "README.md") | |
| branch | No | Optional: Branch name (defaults to the default branch) |