create_mock_endpoint
Create a mock API endpoint with configurable HTTP response rules. Get a live URL that responds to requests as defined.
Instructions
Create a mock API endpoint. Returns a live URL ({slug}.rbmock.dev) that responds to HTTP requests with rules you configure. A starter rule (any-method any-path → 200 JSON) is added automatically. Custom slugs require PRO/TEAM; otherwise an auto-slug is generated.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_mock_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name for the endpoint (e.g. "Stripe API mock", "Auth fixture") | |
| slug | No | Custom subdomain slug (PRO/TEAM only). Leave empty for an auto-generated slug. |