-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
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
Labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
aryasoni98 commentedon Apr 26, 2025
@kaovilai I came across this issue and would love to contribute could you please assign it to me?
kaovilai commentedon Apr 27, 2025
I'm not a maintainer here so I cannot assign anyone.
Akshata990418 commentedon Jul 30, 2025
I have integrated Github MCP to my application chainlit+langchain i m also not able to fetch the file content using get_file_contents tool. could anyone help with this @aryasoni98 @kaovilai
Im facing this error while trying to use get_file_contents tool
TypeError: Type is not msgpack serializable: ToolMessage