{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Token Skills",
  "description": "Token analysis skills powered by Moralis API",
  "type": "object",
  "x-icon": "/skills/portfolio/moralis.png",
  "x-tags": [
    "Analytics",
    "Crypto"
  ],
  "properties": {
    "enabled": {
      "type": "boolean",
      "title": "Enabled",
      "description": "Whether this skill is enabled",
      "default": false
    },
    "states": {
      "type": "object",
      "properties": {
        "token_price": {
          "type": "string",
          "title": "ERC20 Token Price",
          "enum": [
            "disabled",
            "public",
            "private"
          ],
          "x-enum-title": [
            "Disabled",
            "Agent Owner + All Users",
            "Agent Owner Only"
          ],
          "description": "Get the token price denominated in the blockchain's native token and USD",
          "default": "disabled"
        },
        "token_erc20_transfers": {
          "type": "string",
          "title": "ERC20 Token Transfers",
          "enum": [
            "disabled",
            "public",
            "private"
          ],
          "x-enum-title": [
            "Disabled",
            "Agent Owner + All Users",
            "Agent Owner Only"
          ],
          "description": "Get ERC20 token transactions ordered by block number",
          "default": "disabled"
        },
        "token_search": {
          "type": "string",
          "title": "Token Search (Premium)",
          "enum": [
            "disabled",
            "public",
            "private"
          ],
          "x-enum-title": [
            "Disabled",
            "Agent Owner + All Users",
            "Agent Owner Only"
          ],
          "description": "Search for tokens based on contract address, token name or token symbol. Premium endpoint available as an add-on. Requires a Moralis Business plan or Enterprise plan.",
          "default": "disabled"
        },
        "token_analytics": {
          "type": "string",
          "title": "Token Analytics",
          "enum": [
            "disabled",
            "public",
            "private"
          ],
          "x-enum-title": [
            "Disabled",
            "Agent Owner + All Users",
            "Agent Owner Only"
          ],
          "description": "Get analytics for a token by token address",
          "default": "disabled"
        }
      },
      "description": "States for each token analysis skill (disabled, public, or private)"
    }
  },
  "required": [
    "states",
    "enabled"
  ],
  "additionalProperties": true
}
