Get the Code Mode TypeScript SDK
tg_get_sdkRetrieves TypeScript declarations for the tg namespace used by tg_execute, so you can review method signatures before writing non-trivial Telegram Ads scripts.
Instructions
Return the TypeScript declarations for the tg namespace available inside tg_execute. Read this before writing a non-trivial script; it documents every method signature.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tg_get_sdk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||