azeth_update_service
Update your registered service's endpoint, description, or capabilities on the trust registry.
Instructions
Update metadata for your registered service on the trust registry.
Use this when: You need to change your service endpoint, description, capabilities, or other metadata after initial registration with azeth_publish_service.
Supported metadata keys: "endpoint", "description", "capabilities", "name", "entityType", "pricing". For capabilities, provide a JSON array string (e.g., '["translation", "nlp"]').
Note: Catalogs are off-chain and served from your endpoint. Update your catalog by updating the response at your endpoint, not via this tool.
Returns: Confirmation with transaction hash.
Note: Your account must already be registered on the trust registry. This requires a transaction (gas cost). Only the account owner can update metadata.
Example: { "key": "endpoint", "value": "https://api.example.com/v2" }
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"). | |
| key | Yes | Metadata key to update. | |
| value | Yes | New value. For "capabilities", provide a JSON array string like '["translation", "nlp"]'. |