Get Agent Id by Name
lyzr_agent_id_by_nameLook up an agent ID using its agent name. Provide the agent name to retrieve the corresponding unique ID for use in other Lyzr operations.
Instructions
Resolve an agent id by its name.
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": {
"agent_name": "<agent_name>"
},
"name": "lyzr_agent_id_by_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_name | Yes | Agent name |