Storage slot
storage_slotCompute a Solidity storage slot for mappings, nested mappings, array elements, or ERC-7201 namespaces, and optionally read it live on EVM chains.
Instructions
Compute a Solidity storage slot (mapping, nested mapping, array element, ERC-7201 namespace) and optionally read it live.
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": {
"kind": "<kind>"
},
"name": "storage_slot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | [[type,value],...] for mapping | |
| kind | Yes | ||
| read | No | ||
| slot | No | ||
| index | No | ||
| namespace | No |