ctp-get-files
Retrieve and format specific file contents from a project into prompts for codebase analysis and LLM processing.
Instructions
Retrieves the content of a specific list of files from the project, formatted into a prompt.
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": {
"root_path": "<root_path>",
"paths": "<paths>"
},
"name": "ctp-get-files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root_path | Yes | Root directory path of the project. | |
| paths | Yes | A list of specific file paths to include, relative to the root path. | |
| output_format | No | Output format ('default', 'markdown', 'cxml'). | default |