get_module_for_file
Retrieve the module associated with a given file ID. Uses reverse lookup to map files to their parent modules.
Instructions
Find which module a file belongs to. Reverse lookup via module_files junction table.
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": {
"file_id": "<file_id>"
},
"name": "get_module_for_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | File ID to look up |