Look up the host API
angelscript_host_apiSearch the host application's registered functions, types, methods and enums before writing AngelScript, so you never invent an API. Returns exact declarations and docs for a name or partial name.
Instructions
Search the functions, types, methods and enums the host application registers, read from the .as.predefined stubs. Use it before calling any host function or type so you never invent an API. The query is a name or part of one, such as 'Spawn' or 'Game::Player'. Results show the exact declaration and its documentation; for a type, its members.
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": {
"query": "<query>"
},
"name": "angelscript_host_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Restrict results to one kind of declaration. | any |
| limit | No | Maximum declarations to return. | |
| query | Yes | Name or part of a name, optionally qualified with '::'. | |
| offset | No | Declarations to skip, for paging. | |
| response_format | No | 'markdown' (default) is compact text for reading. 'json' returns structured data. | markdown |