ghl_agent_studio_get_by_id_deprecated
Retrieves a specific agent by ID and location, including all versions; deprecated—use the documented GET /agent-studio/agent/{agentId} replacement instead.
Instructions
Deprecated per official spec — use ghl_agent_studio_get_by_id (GET /agent-studio/agent/{agentId}) instead. [DEPRECATED per official docs — prefer the documented replacement if one exists.] Get Agent (Deprecated) Deprecated endpoint - use GET /agent/:agentId instead.
Gets a specific agent by its ID for the specified location with all its versions. locationId is required parameter. The agent must have active status. Endpoint: GET /agent-studio/public-api/agents/{agentId} (Version header: v3; source: v3/agent-studio-v3.json) Requires a Sub-Account (location) token. OAuth scopes: agent-studio.readonly
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": {
"agentId": "<agentId>",
"locationId": "<locationId>"
},
"name": "ghl_agent_studio_get_by_id_deprecated"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Origin channel attributed to this read for auditing (e.g. public_api, internal) | |
| agentId | Yes | Managed Agent ID | |
| locationId | Yes | Location ID |