Run Prompt
aidelly_run_promptRun a saved prompt template by id with its template variables in input_values. Generates an AI result, spends the applicable AI credits, and saves the prompt run. Template ids come from aidelly_list_prompts. Returns the generated result. Retry-safe: a repeat call with the same idempotency_key returns the original result.
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": {
"id": "<id>",
"idempotency_key": "<idempotency_key>",
"input_values": "<input_values>"
},
"name": "aidelly_run_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| body | No | Optional body override for endpoints with sparse parameter schemas. | |
| query | No | Optional query overrides for endpoints with sparse parameter schemas. | |
| brand_id | No | ||
| input_values | Yes | Key-value pairs for prompt template variables | |
| workspace_id | No | Workspace to operate in: the `id` of a workspace returned by aidelly_list_workspaces. Optional for read operations; required when creating content. | |
| idempotency_key | Yes |