read_addon_file
Read text files from a workspace addon using game, addon name, and internal path so coding agents can inspect Source 2 scripts and configs.
Instructions
Read a text file from an addon in the workspace.
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": {
"name": "<name>",
"path": "<path>"
},
"name": "read_addon_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | No | Game id: one of cs2, deadlock | cs2 |
| name | Yes | Addon name: lowercase [a-z0-9_], e.g. 'jump_arena' | |
| path | Yes | Path inside the addon, e.g. 'scripts/jump_arena.js' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |