stellar_xdr_json_schema
Obtain a Draft-7 JSON Schema for a specified Stellar XDR type to structure data for XDR encoding.
Instructions
Return Draft-7 JSON Schema for a Stellar XDR type (use with stellar_xdr_encode).
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": {
"type": "<type>"
},
"name": "stellar_xdr_json_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Stellar XDR type name (see stellar_xdr_types), e.g. TransactionEnvelope |