get_generated_prompt
Return a meta-prompt for writing tests for the function.
Cache hits return immediately. Cache misses enqueue a fresh
generation and poll the row for up to wait_seconds. On
timeout the agent gets the generation_id and can call
wait_for_prompt to keep waiting.
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": {
"function_id": "<function_id>"
},
"name": "get_generated_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| function_id | Yes | ||
| wait_seconds | No |