get_script_api
Look up CS2 cs_script JavaScript API types, members, and signatures with docs; pass a type for all inherited members or a member name for matching entries.
Instructions
Look up the CS2 cs_script (point_script) JavaScript API. A type name returns the type with all
members, including inherited ones. Anything else returns the matching members with signature and docs.
Instance is the Domain type.
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": {
"symbol": "<symbol>"
},
"name": "get_script_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | No | Game id: one of cs2, deadlock | cs2 |
| symbol | Yes | Type ('CSPlayerPawn'), member ('Domain.TraceLine'), or bare member name ('TraceLine') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |