sui_grpc_call
Directly call any read method on Sui's gRPC services: LedgerService, StateService, or MovePackageService. Provide service, method, and arguments; optionally specify field paths and routing source.
Instructions
Escape hatch: call any READ method on the LedgerService / StateService / MovePackageService directly. Args are forwarded as-is to the @mysten/sui SuiGrpcClient. Pass read_mask_paths if you want fields populated. Use sui_describe_grpc_services first to discover what's available. ExecuteTransaction and SubscribeCheckpoints are blocked here — they have their own gated tools. For LedgerService methods, source='auto' (default) tries live then falls back to archive on retention boundary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | Service name in JS camelCase: ledgerService | stateService | movePackageService. | |
| method | Yes | Method name in JS camelCase, e.g. getObject. | |
| args | Yes | Method args as a JSON object. Numeric fields the proto declares as uint64/int64 should be passed as decimal strings; the wrapper will coerce to BigInt where needed. | |
| read_mask_paths | No | Proto field paths to populate in the response. Without this, responses are usually just digests. | |
| source | No | Routing policy. 'auto' (default) → for ledgerService, tries live then archive on retention boundary; for other services, behaves like 'live' (archive doesn't implement them). 'live' / 'archive' force a single endpoint. Archive can ONLY serve ledgerService methods — choosing 'archive' with another service errors. | |
| network | No | Sui network. Defaults to the server's configured default. |