{
  "$schema": "https://farmslot.io/schemas/recipe-v1.schema.json",
  "title": "Assets release token search import",
  "description": "Imports one token through live Manage tokens search and proves it appears in the token list.",
  "paramsSchema": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "query": { "type": "string", "default": "DAI" },
      "timeout_ms": { "type": "integer", "minimum": 1000, "default": 45000 }
    }
  },
  "workflow": {
    "entry": "open-wallet",
    "nodes": {
      "open-wallet": {
        "action": "ui.navigate",
        "page": "home",
        "intent": "Open the all-network asset list",
        "next": "import-token"
      },
      "import-token": {
        "action": "metamask.assets.set_token_visibility",
        "query": "{{params.query}}",
        "visible": true,
        "timeout_ms": "{{params.timeout_ms}}",
        "intent": "Find the token through the live API and enable its management toggle",
        "next": "capture-imported-token"
      },
      "capture-imported-token": {
        "action": "ui.screenshot",
        "path": "screenshots/assets-imported-token.png",
        "label": "Imported token visible",
        "intent": "Preserve reviewer-visible import evidence",
        "next": "done"
      },
      "done": { "action": "end", "status": "pass" }
    }
  }
}
