perch_pull
Fetch Perchance generator code (modelText and outputTemplate) from public API to local files, enabling fast offline grep search without browser or Cloudflare.
Instructions
BROWSER-FREE code access. Fetch the authoritative modelText (main.pjs) and outputTemplate (index.html) from Perchance's public API in ~1.2s — no browser, no Cloudflare, no collab key needed — and write them to local files. Grep/read those files directly for full-speed, full-text search of a 40k-line generator. Works without perch_start.
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": "perch_pull"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Output directory. Default <perch dir>/.perch-mirror/<name> | |
| name | No | Generator name. Defaults to the current session generator |