Close the mini program session
mp_closeDetach from the running WeChat Mini Program and close the DevTools window launched by the server. Safe to call without an active session, returning not_running instead of failing.
Instructions
Detach from the mini program and close the DevTools window this server launched. Idempotent: calling it with no session reports "not_running" instead of failing.
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": "mp_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||