Get Style Usage
get_style_usageExplain how to use a public prompt_style from the RetroDiffusion API.
Use this before create_inference if you are unsure whether a style expects input_image,
supports per-inference reference_images, or whether you meant style-level style_reference_images.
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": {
"prompt_style": "<prompt_style>"
},
"name": "get_style_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rd_api_key | No | RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth. | |
| prompt_style | Yes | Style id from list_available_styles (e.g. 'rd_core__default', 'rd_pro__isometric', or a custom 'user__...' style). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||