yapi_get_advanced_mock
Retrieve the advanced mock custom script for a YApi interface by providing its interface ID, enabling review or modification of mock response behavior.
Instructions
读取高级 Mock 自定义脚本。需要 YAPI_EMAIL/YAPI_PASSWORD 或 Cookie。
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": {
"interfaceId": "<interfaceId>"
},
"name": "yapi_get_advanced_mock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | ||
| interfaceId | Yes |