Get File Content
lyzr_git_get_file_contentRetrieve file content from an agent's git repository by providing agent ID and file path. Optionally specify a branch to read the file from.
Instructions
Get the content of a file in an agent's git repo.
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": {
"agent_id": "<agent_id>",
"file_path": "<file_path>"
},
"name": "lyzr_git_get_file_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Branch to read the file from | |
| agent_id | Yes | Agent id | |
| file_path | Yes | Path to the file within the repo |