Owner tx: allow or revoke an operator
prepare_set_operatorReturns an UNSIGNED transaction {chainId, to, data, value} plus simulation — an eth_call of exactly it from from (ok, or the revert decoded by name) — warnings and next. This server signs nothing: the sender signs and sends it with their own wallet and pays the gas. Owner only. An operator may rebalance (allocate, recenter, move, claim, reinvest) inside the manager's pools and can never withdraw. To hand a manager to an operator agent, allow the address of the local envelop-mcp-lp server's operator wallet.
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": {
"chainId": "<chainId>",
"manager": "<manager>",
"operator": "<operator>",
"allowed": "<allowed>",
"from": "<from>"
},
"name": "prepare_set_operator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | The address that will send the transaction — the manager owner (ownerOf(1)). The simulation runs from it. | |
| allowed | Yes | true adds the operator, false revokes it | |
| chainId | Yes | EVM chain id: 8453 Base, 42161 Arbitrum, 130 Unichain (1 = Ethereum mainnet, your gas) | |
| manager | Yes | Manager NFT contract address | |
| operator | Yes | The operator address to allow or revoke (for an agent: the operator wallet of the local envelop-mcp-lp server) |