Create XDaLa session start handoff
create_xdala_session_start_handoffPrepare and store a read-only xgr-session-start@1 handoff for xDaLa Workbench. Use this tool whenever the user wants to start, run, launch, execute, queue, or prepare an XDaLa session. Use this tool for starting an existing deployed XRC-729/XRC-137 workflow, starting from a runtime XRC-729 orchestration, starting from a bundle deploy result, or importing a canonical xgr-session-start@1 request into xDaLa Manage Sessions. When explaining required input to users, use canonical xgr-session-start@1 terminology: sessions[].orchestration, sessions[].ostcId, sessions[].stepId, sessions[].payload, sessions[].maxTotalGas. Do not ask users for entryStepId; entryStepId is not the Workbench Session Start field. For deployed XRC-729 workflows, first inspect the runtime, identify ostcId and the likely entry step, resolve that step's XRC-137 rule, derive required payload fields from the XRC-137 payload schema, treat fields with defaults as optional, and present required and optional/default fields before creating a handoff. Do not call this tool with guessed payload values. If required start payload fields are missing, first present the required fields to the user and ask for values or explicit permission to use demo values. Only use demo/dummy/example/default values when the user explicitly asks or accepts them. This tool returns a Workbench xdalaUrl such as https://xdala.devnet.xgr.network/session-start/ss... . The agent must show the returned xdalaUrl to the user. Do not replace the xdalaUrl with a generic /operations/op... link. The MCP does not sign, submit, or execute. xDaLa Workbench performs local signing and calls xgr_validateDataTransfer. Do not describe the XRC-729 contract owner as the owner of a not-yet-started session; owner()/getOwner() and getExecutorList() identify start-authority roles only. Use sessions[].starterAddress only as an intended starter when explicitly set, and use terminal result data such as result.results[].owner/sessionId/pid for the actual session owner/starter after Workbench start.
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": {
"source": "<source>",
"network": "<network>"
},
"name": "create_xdala_session_start_handoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ui | No | Optional user-interface metadata for Workbench import and display. | |
| expiry | No | Unix timestamp or expiry value for the prepared request. | |
| ostcId | No | Orchestration step contract id for the XDaLa workflow. | |
| source | Yes | Source type for deriving the prepared XDaLa request. | |
| stepId | No | Canonical XDaLa step id used by Workbench/session-start requests. | |
| chainId | No | Numeric EVM chain id for the target network. | |
| network | Yes | Target network name or environment, for example mainnet or devnet. | |
| payload | No | Structured payload object for an XDaLa step or workflow request. | |
| request | No | Canonical request object used by the target XDaLa workflow operation. | |
| signing | No | Signing metadata for Workbench or local wallet handoff preparation. | |
| summary | No | Structured summary metadata for human review and audit context. | |
| ostcHash | No | Hash or identifier of the orchestration step contract artifact. | |
| security | No | Optional security metadata for handoff preparation. | |
| sessions | No | Array of canonical xgr-session-start@1 session requests. | |
| execution | No | Execution metadata for prepared XDaLa workflow requests. | |
| ttlSeconds | No | Time-to-live in seconds for temporary offchain handoff data. | |
| maxTotalGas | No | Maximum total gas budget allowed for the prepared XDaLa session request. | |
| orchestration | No | Address or identifier of the deployed XDaLa orchestration contract. | |
| walletAddress | No | Wallet address used as intended signer, starter or actor context. | |
| executorGrants | No | Executor grant metadata for prepared XDaLa session-start requests. | |
| expectedSigner | No | Expected wallet address that should sign or execute the prepared handoff. | |
| bundleDeployHandle | No | Opaque handle returned by a previous XDaLa bundle deploy handoff flow. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Structured result data returned by the XGR MCP gateway. |