8000 get_file_contents: Add ability to select line(s) ranges · Issue #350 · github/github-mcp-server · GitHub
[go: up one dir, main page]

Skip to content
get_file_contents: Add ability to select line(s) ranges #350
Open
@kaovilai

Description

@kaovilai

Describe the feature or problem you’d like to solve

get_file_contents - Get contents of a file or directory

owner: Repository owner (string, required)
repo: Repository name (string, required)
path: File path (string, required)
ref: Git reference (string, optional)
begin: begin line# (number, optional)
end: end line# (number, optional)

requested addition in bold

Proposed solution

See above

Additional context

This may help reduce model context consumed by parsing large files if we only want to request a subset..

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0