deploy_mock_from_url
Deploy a durable, team-visible mock from a public OpenAPI 3.0+ spec URL to mockzilla.org. After the server fetches and parses the spec, follow up with wait_for_deploy to get the live URL.
Instructions
Create a HOSTED, SHAREABLE mock on mockzilla.org from an OpenAPI 3.0+ spec at a public https URL. The server fetches the spec (SSRF-protected) and parses it. Use this when the user gives you a spec URL AND wants a durable, team-visible result — NOT for ephemeral local exploration (use serve_locally for that, it accepts the same URL form). The returned sim is in deploying state -- follow up with wait_for_deploy to receive the live URL.
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": {
"name": "<name>",
"slug": "<slug>",
"spec_url": "<spec_url>"
},
"name": "deploy_mock_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| slug | Yes | ||
| domain | No | ||
| spec_url | Yes | ||
| mount_path | No |