nvim_source_lua
Execute a Lua file in Neovim via :luafile to load configuration or scripts into a running tmux session.
Instructions
Source a Lua file in Neovim using :luafile command
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": {
"session": "<session>",
"file_path": "<file_path>"
},
"name": "nvim_source_lua"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | Session name | |
| file_path | Yes | Path to the Lua file to source |