ai_generate_body
Generates valid, realistic request bodies from JSON templates or example responses, using AI to fill in appropriate test data for API testing.
Instructions
Given a request with a JSON body template or example response, use AI to generate a valid, realistic request body with appropriate test data.
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": {
"request_id": "<request_id>"
},
"name": "ai_generate_body"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Extra context, e.g. 'create a user named John in the UK' | |
| request_id | Yes |