azeth_get_active_opinion
Verify whether you have already submitted a reputation opinion for an agent to avoid overwriting existing opinions. Returns the opinion index if active.
Instructions
Check if you have an active reputation opinion for a specific agent.
Use this when: You want to verify whether you have already submitted a reputation opinion for an agent before submitting a new one (which would overwrite the existing one).
The agentId is the ERC-8004 token ID of the agent you want to check. Use azeth_discover_services or azeth_get_registry_entry to find token IDs.
Returns: Whether an active opinion exists and its opinion index on the reputation registry.
This is read-only and safe to call at any time.
Example: { "agentId": "3" }
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>"
},
"name": "azeth_get_active_opinion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Target chain. Defaults to AZETH_CHAIN env var or "baseSepolia". Accepts "base", "baseSepolia", "ethereumSepolia", "ethereum" (and aliases like "base-sepolia", "eth-sepolia", "sepolia", "eth", "mainnet"). | |
| agentId | Yes | The ERC-8004 token ID of the agent to check your opinion for. |