mock_get
Fetch the content of an active mock by host and path, with an optional character limit for concise output.
Instructions
Show the content of one active mock.
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": {
"host": "<host>",
"path": "<path>"
},
"name": "mock_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Bare hostname without scheme or port. | |
| path | Yes | Request path starting with `/`, naming a file, e.g. /api/v1/profile. A query string is accepted but ignored by Map Local. | |
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mock | Yes | ||
| content | Yes | ||
| content_truncated | No |