get_source
Retrieves original source code in character chunks for a specified component, enabling migration-risk checks whose line numbers refer to the full component source.
Instructions
Read original code in character chunks; risk line numbers refer to the complete component source.
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": {
"path": "<path>",
"component_id": "<component_id>"
},
"name": "get_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| limit | No | ||
| offset | No | ||
| component_id | Yes |