{
  "name": "Priors: credit record and line routes (Robinhood Chain)",
  "description": "Priors reads an ERC-8004 agent's public repayment record on Robinhood Chain (chain 4663): the loans it repaid on Priors, whether it ever defaulted, and its scores, and lists the routes to a first line its record leaves listed. Each answer is read from priors.trade's public routes when the request comes, and moves nothing.",
  "inputFormat": "ipfs-v0.1",
  "outputFormat": "ipfs-v0.1",
  "image": "https://priors.trade/icons/icon-512.png",
  "tools": [
    "priors_record",
    "priors_line_routes"
  ],
  "toolMetadata": {
    "priors_record": {
      "name": "priors_record",
      "description": "An ERC-8004 agent's Priors record on Robinhood Chain: the loans it repaid and the USDG they came to, its open loans, whether it defaulted or its line is frozen, its on-chain score and its Score v2, with its ERC-8004 identity as Priors' Directory holds it. For an address: every agent with a Priors record that the address owns or declared as its payment wallet (25 shown, with the total). Read-only.",
      "input": {
        "type": "text",
        "description": "An agent id (digits, no leading zero, for example 462) or an EIP-55 checksummed 0x address, and nothing else. Anything else is refused with an error that says what to send; the prompt is never fetched or followed."
      },
      "output": {
        "type": "object",
        "description": "A JSON object: the request's id, the prompt as read, and the tool's answer as a JSON string. result.result holds verdict, asOf, identity, agents (each its record, score and links), agentsTotal, agentsShown, incomplete and a one-line summary.",
        "schema": {
          "type": "object",
          "properties": {
            "requestId": {
              "type": "integer",
              "description": "Unique identifier for the request"
            },
            "result": {
              "type": "string",
              "description": "The tool's answer, JSON in a string: {tool, ok, error, query, result, sources, readAt, about}. With ok false it carries an error that says why, and no figure. sources lists every read with its status and the block it was read at."
            },
            "prompt": {
              "type": "string",
              "description": "The agent id or the address as read; null when the request was refused."
            }
          },
          "required": [
            "requestId",
            "result",
            "prompt"
          ]
        }
      }
    },
    "priors_line_routes": {
      "name": "priors_line_routes",
      "description": "The ways to a line Priors lists for an ERC-8004 agent on Robinhood Chain, read against its own record and its owner's wallet: the treasury's first line by invite, the Ethos lane, a stock line, and a line from its owner's own PRIORS tokens. Each route says listed, not for this identity or closed, why, and where it is taken. A list, never an offer: each place checks its own rules before anything moves, and this tool quotes no amount. Read-only.",
      "input": {
        "type": "text",
        "description": "An agent id (digits, no leading zero, for example 462), and nothing else."
      },
      "output": {
        "type": "object",
        "description": "A JSON object: the request's id, the prompt as read, and the tool's answer as a JSON string. result.result holds the identity, its standing, closedForAll, the four routes, a note and a one-line summary.",
        "schema": {
          "type": "object",
          "properties": {
            "requestId": {
              "type": "integer",
              "description": "Unique identifier for the request"
            },
            "result": {
              "type": "string",
              "description": "The tool's answer, JSON in a string: {tool, ok, error, query, result, sources, readAt, about}. With ok false it carries an error that says why, and no figure. sources lists every read with its status and the block it was read at."
            },
            "prompt": {
              "type": "string",
              "description": "The agent id or the address as read; null when the request was refused."
            }
          },
          "required": [
            "requestId",
            "result",
            "prompt"
          ]
        }
      }
    }
  }
}