generate_messaging_code
Generate TypeScript code for Arbitrum cross-chain messaging operations including L1 to L2 retryable tickets and L2 to L1 messages with status checking.
Instructions
Generate TypeScript code for Arbitrum cross-chain messaging. Supports L1->L2 retryable tickets and L2->L1 messages.
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": {
"message_type": "<message_type>"
},
"name": "generate_messaging_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_type | Yes | Type of messaging operation to generate code for | |
| include_example | No | Include example usage with sample contract call |