{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "mcp.luxalgo.com",
    "site": "luxalgo.com",
    "addresses": [
      {
        "address": "216.150.16.193",
        "endpoints": 661,
        "shared_infrastructure": true,
        "network": {
          "asn": 16509,
          "name": "AMAZON-02 - Amazon.com, Inc.",
          "prefix": "216.150.16.0/24",
          "country": "US"
        }
      },
      {
        "address": "216.150.1.193",
        "endpoints": 678,
        "shared_infrastructure": true,
        "network": {
          "asn": 16509,
          "name": "AMAZON-02 - Amazon.com, Inc.",
          "prefix": "216.150.1.0/24",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "216.150.16.193",
          "216.150.1.193"
        ],
        "first_seen": "2026-11-21T14:09:01.001Z",
        "last_seen": "2026-11-23T18:47:02.464Z",
        "checks": 3
      }
    ],
    "hosting": [
      {
        "value": "Vercel",
        "evidence": "Server header \"Vercel\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "luxalgo",
      "version": "2.1.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "Vercel",
      "strict-transport-security": "max-age=63072000"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 875,
      "sample": [
        {
          "id": "248",
          "url": "https://app.aqta.ai/api/mcp",
          "server_name": "ai.aqta/seal",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:35:04.710Z"
        },
        {
          "id": "278",
          "url": "https://asrm.ai/mcp",
          "server_name": "ai.asrm/asrm",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:37:02.462Z"
        },
        {
          "id": "300",
          "url": "https://app.augenix.ai/api/mcp/public",
          "server_name": "ai.augenix/build",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:38:02.093Z"
        },
        {
          "id": "368",
          "url": "https://beexcellent.ai/api/mcp/public",
          "server_name": "ai.beexcellent/reference",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:40:04.155Z"
        },
        {
          "id": "375",
          "url": "https://api.betslipdoctor.ai/api/mcp",
          "server_name": "ai.betslipdoctor/mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:40:02.459Z"
        },
        {
          "id": "390",
          "url": "https://blinibot.ai/api/agents/mcp",
          "server_name": "ai.blinibot/agent-lounge",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:40:03.345Z"
        },
        {
          "id": "395",
          "url": "https://property.bluebed.ai/mcp",
          "server_name": "ai.bluebed.property/new-launches",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:41:00.904Z"
        },
        {
          "id": "416",
          "url": "https://www.bordet.ai/api/mcp/mcp",
          "server_name": "ai.bordet/bordet",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:40:03.564Z"
        },
        {
          "id": "430",
          "url": "https://www.budgetseo.ai/api/mcp",
          "server_name": "ai.budgetseo/budget-seo-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:42:01.174Z"
        },
        {
          "id": "461",
          "url": "https://callmcp.ai/mcp",
          "server_name": "ai.callmcp/server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:42:02.318Z"
        },
        {
          "id": "754",
          "url": "https://www.edgechat.ai/mcp",
          "server_name": "ai.edgechat/edgepedia",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:48:12.743Z"
        },
        {
          "id": "868",
          "url": "https://www.flamel.ai/mcp",
          "server_name": "ai.flamel/public-content",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:52:12.172Z"
        },
        {
          "id": "906",
          "url": "https://www.frontierdesk.ai/mcp",
          "server_name": "ai.frontierdesk/desk",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:52:12.420Z"
        },
        {
          "id": "908",
          "url": "https://mcp.fudge.ai/mcp",
          "server_name": "ai.fudge/fudge",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:52:12.385Z"
        },
        {
          "id": "1078",
          "url": "https://api.gosummer.ai/mcp",
          "server_name": "ai.gosummer/summer",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:54:01.422Z"
        },
        {
          "id": "1330",
          "url": "https://app.kolect.ai/mcp",
          "server_name": "ai.kolect.app/creator-search",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T05:00:10.243Z"
        },
        {
          "id": "1571",
          "url": "https://moonlings.ai/api/mcp",
          "server_name": "ai.moonlings/moonlings",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:44:02.063Z"
        },
        {
          "id": "1574",
          "url": "https://www.mosaya.ai/api/mcp",
          "server_name": "ai.mosaya/practice",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:44:02.169Z"
        },
        {
          "id": "1603",
          "url": "https://www.natalchart.ai/mcp",
          "server_name": "ai.natalchart/astrology",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:44:02.691Z"
        },
        {
          "id": "1616",
          "url": "https://nerdnoir.ai/api/mcp",
          "server_name": "ai.nerdnoir/nerdy",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:45:02.905Z"
        }
      ]
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.LuxAlgo",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/LuxAlgo/luxalgo-mcp-server",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "25519",
    "server_name": "io.github.LuxAlgo/luxalgo-mcp-server",
    "url": "https://mcp.luxalgo.com/mcp",
    "host": "mcp.luxalgo.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T18:47:02.464Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "bcd62652331b6b07097749b1a081c6aa80e76f82b2f16dffa47d8d382b577d40",
    "first_listed_at": "2026-11-21T14:09:01.001Z",
    "created_at": "2026-11-21T08:40:04.458Z",
    "resolved_addresses": [
      "216.150.16.193",
      "216.150.1.193"
    ]
  },
  "server": {
    "name": "io.github.LuxAlgo/luxalgo-mcp-server",
    "title": "LuxAlgo MCP",
    "description": "LuxAlgo for AI agents: the Library, prop firms, Market Trackers, Edge Stats, and your Trade Journal",
    "version": "2.1.0",
    "registry_status": "active",
    "repository_url": "https://github.com/LuxAlgo/luxalgo-mcp-server",
    "website_url": "https://www.luxalgo.com/mcp",
    "published_at": "2026-10-25T17:18:30.496Z",
    "updated_at": "2026-10-25T17:18:30.496Z",
    "first_seen": "2026-11-21T08:40:04.008Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:37:06.870Z"
  },
  "operator": {
    "key": "luxalgo.com",
    "name": "luxalgo.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 737,
    "first_check_in_window": "2026-11-21T14:09:01.001Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "bcd62652331b6b07097749b1a081c6aa80e76f82b2f16dffa47d8d382b577d40",
    "tools": 75,
    "resources": 1,
    "prompts": 0,
    "first_seen": "2026-11-21T14:09:01.742Z",
    "tool_names": [
      "library_search",
      "library_get_concept",
      "library_get_indicator",
      "library_get_source_code",
      "library_list_concepts",
      "library_list_indicators",
      "library_list_families",
      "library_get_family",
      "propfirms_search",
      "propfirms_get",
      "propfirms_search_challenges",
      "propfirms_search_offers",
      "propfirms_list_simulatable",
      "propfirms_challenge_rules",
      "propfirms_simulate",
      "propfirms_optimal_risk",
      "propfirms_compare",
      "propfirms_simulate_trades",
      "propfirms_pass_rates",
      "propfirms_validate_strategy",
      "trackers_datasets",
      "trackers_query",
      "trackers_latest",
      "trackers_ticker",
      "edge_symbols",
      "edge_presets",
      "edge_report",
      "luxalgo_account",
      "journal_list_accounts",
      "journal_overview",
      "journal_calendar",
      "journal_breakdown",
      "journal_list_trades",
      "journal_get_trade",
      "journal_get_day",
      "journal_list_tags",
      "journal_search_notes",
      "journal_add_trade",
      "journal_update_trade",
      "journal_write_note",
      "journal_update_note",
      "chart_open",
      "chart_command",
      "chart_sync",
      "watchlists_list",
      "watchlists_create",
      "watchlists_add_symbols",
      "watchlists_remove_symbols",
      "layouts_list",
      "alerts_list",
      "alerts_create_price",
      "alerts_create_custom",
      "alerts_pause",
      "alerts_resume",
      "alerts_history",
      "chart_peek",
      "quant_generate_pine_script",
      "quant_validate_pine_script",
      "quant_search_user_scripts",
      "get_user_script",
      "quant_plan_backtest_loop",
      "quant_start_backtest_loop",
      "quant_stop_backtest_loop",
      "quant_list_backtest_loops",
      "quant_get_backtest_loop_info",
      "quant_get_backtest_loop_strategy",
      "vela_read_chart",
      "vela_set_chart",
      "vela_mark_up_chart",
      "vela_draw_on_chart",
      "vela_remove_drawings",
      "vela_add_indicator",
      "vela_remove_indicators",
      "vela_get_indicator_settings",
      "vela_set_indicator_settings"
    ],
    "declared": {
      "tools": [
        {
          "name": "library_search",
          "title": "Search the LuxAlgo Library",
          "description": "Search the LuxAlgo Library — the encyclopedia of trading and technical analysis. One query over 800+ concepts (alias-aware: 'stochastics' finds Stochastic Oscillator) and 800+ ready-to-use indicators. Start here whenever you have a name, informal term, or topic; results carry slugs for the get tools plus canonical URLs for citation. Indicator hits that run on Vela carry `chart_url`, the link that opens the indicator on a Vela chart.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "query",
              "context"
            ],
            "properties": {
              "type": {
                "enum": [
                  "all",
                  "concepts",
                  "indicators"
                ],
                "type": "string",
                "description": "Limit to 'concepts' (explanations) or 'indicators' (implementations); default all"
              },
              "limit": {
                "type": "integer",
                "maximum": 50,
                "minimum": 1,
                "description": "Max results (default 10)"
              },
              "query": {
                "type": "string",
                "minLength": 1,
                "description": "A concept, indicator name, alias, or topic — e.g. 'order blocks', 'mean reversion', 'stochastics'"
              },
              "family": {
                "enum": [
                  "trend",
                  "momentum",
                  "volatility",
                  "volume-orderflow",
                  "market-structure",
                  "smc-ict",
                  "wyckoff",
                  "elliott-harmonics",
                  "patterns",
                  "levels",
                  "statistics",
                  "machine-learning",
                  "time-seasonality",
                  "sentiment-breadth",
                  "risk-exits",
                  "meta-composition",
                  "validation"
                ],
                "type": "string",
                "description": "Narrow to one concept family"
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "Search the LuxAlgo Library",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "library_get_concept",
          "title": "Get a Library concept",
          "description": "Explain a trading concept: the Library's full write-up as markdown — definition, formula, how traders read it, and its indicator implementations. Use for any 'what is X / how does X work' question. Needs the exact slug — find it with library_search or library_list_concepts. `indicators` lists the concept's Library implementations, each with `chart_url` (opens it on a Vela chart) when it runs on Vela.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "slug",
              "context"
            ],
            "properties": {
              "slug": {
                "type": "string",
                "minLength": 1,
                "description": "Exact concept slug, e.g. 'rsi' or 'order-blocks' — from search or list results"
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "Get a Library concept",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "library_get_indicator",
          "title": "Get a Library indicator",
          "description": "Details for one indicator: what it does, how to read it, family, concept links, preview image — plus whether its source code is available (fetch the code itself with library_get_source_code). Use when the user asks about a specific indicator. `chart_url`, present when the indicator runs on Vela, opens it on a Vela chart.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "slug",
              "context"
            ],
            "properties": {
              "slug": {
                "type": "string",
                "minLength": 1,
                "description": "Indicator slug, e.g. 'tri-star'"
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "Get a Library indicator",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "library_get_source_code",
          "title": "Get an indicator's source code",
          "description": "The Pine Script® source code of a Library indicator. Kept separate from library_get_indicator because sources are long — call it only when the user wants the code itself. For some indicators the app returns only the start of the source to a signed-out user (`complete: false`, with the line counts): signing in to a LuxAlgo account, free included, returns all of it. `chart_url`, present whenever the indicator runs on Vela, opens it on a Vela chart, whether the source is complete, partial or not served.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "slug",
              "context"
            ],
            "properties": {
              "slug": {
                "type": "string",
                "minLength": 1,
                "description": "Indicator slug"
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "Get an indicator's source code",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "library_list_concepts",
          "title": "List Library concepts",
          "description": "Browse every trading and technical-analysis concept in the Library — paginated, optionally one family. Use to enumerate a topic area or find slugs for library_get_concept and the concept filter of library_list_indicators; for keyword lookup prefer library_search.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "page": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Default 0"
              },
              "family": {
                "enum": [
                  "trend",
                  "momentum",
                  "volatility",
                  "volume-orderflow",
                  "market-structure",
                  "smc-ict",
                  "wyckoff",
                  "elliott-harmonics",
                  "patterns",
                  "levels",
                  "statistics",
                  "machine-learning",
                  "time-seasonality",
                  "sentiment-breadth",
                  "risk-exits",
                  "meta-composition",
                  "validation"
                ],
                "type": "string"
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "page_size": {
                "type": "integer",
                "maximum": 200,
                "minimum": 1,
                "description": "Default 50"
              }
            }
          },
          "annotations": {
            "title": "List Library concepts",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "library_list_indicators",
          "title": "List Library indicators",
          "description": "Browse the indicator catalog with filters and server-side sorting (newest first by default). The Library is organized by family and concept: filter by family (keys from library_list_families) or by concept slug (that concept's implementations; slugs from library_list_concepts or library_search), and optionally by trading platform or plan tier. Use for structured browsing — 'latest indicators', 'everything in the volatility family', 'indicators implementing liquidity sweeps'; for keyword discovery prefer library_search. Each indicator that runs on Vela carries `chart_url`, the link that opens it on a Vela chart.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "page": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Default 0"
              },
              "sort": {
                "enum": [
                  "name",
                  "date",
                  "family"
                ],
                "type": "string",
                "description": "Default: date"
              },
              "text": {
                "type": "string",
                "description": "Server-side text filter"
              },
              "tier": {
                "enum": [
                  "essential",
                  "premium",
                  "ultimate",
                  "ultra"
                ],
                "type": "string",
                "description": "Only indicators included in this LuxAlgo plan tier"
              },
              "family": {
                "enum": [
                  "trend",
                  "momentum",
                  "volatility",
                  "volume-orderflow",
                  "market-structure",
                  "smc-ict",
                  "wyckoff",
                  "elliott-harmonics",
                  "patterns",
                  "levels",
                  "statistics",
                  "machine-learning",
                  "time-seasonality",
                  "sentiment-breadth",
                  "risk-exits",
                  "meta-composition",
                  "validation"
                ],
                "type": "string",
                "description": "Family key from library_list_families, e.g. 'volatility'"
              },
              "concept": {
                "type": "string",
                "description": "Concept slug (from library_list_concepts or library_search) — only indicators linked to this concept, e.g. 'rsi'"
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "platform": {
                "type": "string",
                "description": "Trading platform the indicator supports, e.g. 'metatrader'"
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string"
              },
              "page_size": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Default 24"
              }
            }
          },
          "annotations": {
            "title": "List Library indicators",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "library_list_families",
          "title": "List concept families",
          "description": "The Library's top-level taxonomy: 17 families of trading concepts (trend, momentum, SMC/ICT, statistics, …) with concept counts and hub links. The natural first call for orientation.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "List concept families",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "library_get_family",
          "title": "Get a family hub",
          "description": "A family's hub page as markdown — the written overview of that school of analysis plus its complete concept roster. Use after library_list_families, or when the user asks about a whole area like 'SMC' or 'Wyckoff'.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "key",
              "context"
            ],
            "properties": {
              "key": {
                "enum": [
                  "trend",
                  "momentum",
                  "volatility",
                  "volume-orderflow",
                  "market-structure",
                  "smc-ict",
                  "wyckoff",
                  "elliott-harmonics",
                  "patterns",
                  "levels",
                  "statistics",
                  "machine-learning",
                  "time-seasonality",
                  "sentiment-breadth",
                  "risk-exits",
                  "meta-composition",
                  "validation"
                ],
                "type": "string",
                "description": "Family key, e.g. 'smc-ict'"
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "Get a family hub",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "propfirms_search",
          "title": "Search prop firms",
          "description": "Search LuxAlgo's prop-firm catalog (proprietary trading firms offering funded accounts). Combine firm filters (platforms, markets, payment/payout methods, country availability, Trustpilot, year founded) with nested challenge filters (account size, price, steps, profit split, trading rules) and offer filters — a firm matches when at least one of its challenges/offers matches all of them. Omit every filter to list all firms. Use include to nest the matching challenges, live offers, and the written overview; for one firm's full dossier prefer propfirms_get. Uncaptured (null) fields are omitted from results; nested challenges reference offers via offerIds into the firm-level offers list. This tool returns directory data (what exists and on what terms), not outcomes: for simulated pass odds on a challenge found here, use propfirms_pass_rates or propfirms_simulate with its firm and challenge ids.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "sort": {
                "enum": [
                  "name",
                  "yearFounded",
                  "reviewsTrustPilotScore",
                  "reviewsTrustPilotCount"
                ],
                "type": "string",
                "description": "Sort key (default name)"
              },
              "text": {
                "type": "string",
                "description": "Case-insensitive search over firm name and slug, e.g. 'ftmo'"
              },
              "steps": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "description": "Exact evaluation step count (1 = instant/funded, 2 = two-step, …)"
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "include": {
                "type": "array",
                "items": {
                  "enum": [
                    "challenges",
                    "offers",
                    "overview"
                  ],
                  "type": "string"
                },
                "description": "Extra payloads to nest on each firm (only children matching the filters are returned)"
              },
              "offerId": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Public offer ids"
              },
              "currency": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Account currencies, e.g. ['usd', 'eur']"
              },
              "interval": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Challenge fee intervals, e.g. 'one-time', 'monthly'"
              },
              "priceMax": {
                "type": "number",
                "description": "Maximum challenge fee (inclusive)"
              },
              "priceMin": {
                "type": "number",
                "description": "Minimum challenge fee (inclusive)"
              },
              "stepsMax": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "description": "Maximum step count (ignored when steps is set)"
              },
              "stepsMin": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "description": "Minimum step count (ignored when steps is set)"
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction; each sort key has a sensible default"
              },
              "offerText": {
                "type": "string",
                "description": "Case-insensitive search over promo code and offer descriptions"
              },
              "pageIndex": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "0-based page index (default 0)"
              },
              "promoCode": {
                "type": "string",
                "description": "Case-insensitive substring of the promo code"
              },
              "isFeatured": {
                "type": "boolean",
                "description": "Only featured offers when true"
              },
              "maxLossMax": {
                "type": "number",
                "description": "Upper bound on the overall-loss limit magnitude"
              },
              "propfirmId": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "Public firm slugs, e.g. ['ftmo']"
              },
              "autoTrading": {
                "type": "boolean",
                "description": "Whether automated trading (EAs/bots) is allowed"
              },
              "availableIn": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Country names the firm must NOT restrict, e.g. ['United States']"
              },
              "challengeId": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "Public challenge ids"
              },
              "copyTrading": {
                "type": "boolean",
                "description": "Whether copy trading is allowed"
              },
              "countryIso2": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "ISO-2 headquarters countries, e.g. ['GB', 'US']"
              },
              "discountMax": {
                "type": "number",
                "description": "Maximum discount value"
              },
              "discountMin": {
                "type": "number",
                "description": "Minimum discount value"
              },
              "maxLossMode": {
                "type": "array",
                "items": {
                  "enum": [
                    "static-initial",
                    "trailing-realized-eod",
                    "trailing-intraday-unrealized"
                  ],
                  "type": "string"
                },
                "description": "Drawdown modes; challenges without a captured mode never match"
              },
              "newsTrading": {
                "type": "boolean",
                "description": "Whether news trading is allowed"
              },
              "dailyLossMax": {
                "type": "number",
                "description": "Upper bound on the daily-loss limit magnitude (smaller = stricter)"
              },
              "pageQuantity": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size (default 50, max 100)"
              },
              "productTypes": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Product types the firm must offer at least one of, e.g. 'CFD', 'Futures'"
              },
              "challengeName": {
                "type": "string",
                "description": "Case-insensitive substring of the challenge name"
              },
              "payoutMethods": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Payout methods the firm must offer at least one of, e.g. 'Bank Transfer', 'Crypto'"
              },
              "accountSizeMax": {
                "type": "number",
                "description": "Maximum account size (inclusive)"
              },
              "accountSizeMin": {
                "type": "number",
                "description": "Minimum account size (inclusive)"
              },
              "hasActiveOffer": {
                "type": "boolean",
                "description": "When true, the firm must currently have a live (active, unexpired) offer"
              },
              "includeExpired": {
                "type": "boolean",
                "description": "When true, ended offers are not hidden (default false)"
              },
              "maxLeverageMin": {
                "type": "number",
                "description": "Minimum max leverage"
              },
              "maxYearFounded": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "description": "Inclusive maximum year founded"
              },
              "minYearFounded": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "description": "Inclusive minimum year founded"
              },
              "paymentMethods": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Payment methods the firm must accept at least one of, e.g. 'Crypto', 'PayPal'"
              },
              "profitSplitMin": {
                "type": "number",
                "description": "Minimum trader profit-split percent"
              },
              "weekendHolding": {
                "type": "boolean",
                "description": "Whether holding over the weekend is allowed"
              },
              "includeInactive": {
                "type": "boolean",
                "description": "When true, inactive offers are not hidden (default false)"
              },
              "isFeeRefundable": {
                "type": "boolean",
                "description": "Whether the challenge fee is refundable"
              },
              "overnightHolding": {
                "type": "boolean",
                "description": "Whether holding overnight is allowed"
              },
              "stoplossRequired": {
                "type": "boolean",
                "description": "Whether a stop loss is required"
              },
              "tradingPlatforms": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Platforms the firm must offer at least one of, e.g. 'MT5', 'cTrader', 'TradingView'"
              },
              "discountIsPercent": {
                "type": "boolean",
                "description": "true for percent discounts, false for absolute amounts"
              },
              "minTradingDaysMax": {
                "type": "number",
                "description": "Maximum required minimum trading days (finds less-strict challenges)"
              },
              "tradedMarketTypes": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Markets the firm must offer at least one of, e.g. 'forex', 'indices', 'commodities'"
              },
              "isPreferredPartner": {
                "type": "boolean",
                "description": "Only LuxAlgo preferred-partner firms when true"
              },
              "minTrustPilotCount": {
                "type": "number",
                "description": "Minimum Trustpilot review count"
              },
              "minTrustPilotScore": {
                "type": "number",
                "description": "Minimum Trustpilot score"
              }
            }
          },
          "annotations": {
            "title": "Search prop firms",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "propfirms_get",
          "title": "Get a prop firm",
          "description": "One prop firm's full dossier by slug: general profile (platforms, markets, payments, Trustpilot, restricted countries), every challenge with its rules, live offers with promo codes and affiliate links, and the written overview (about, rules, payout policy, FAQ). Find slugs with propfirms_search. Uncaptured (null) fields are omitted; challenges reference applicable offers via offerIds into the firm-level offers list. For simulated pass odds on this firm's challenges (reference archetypes, same engine as luxalgo.com/prop-firms), use propfirms_pass_rates.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "propfirmId",
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "propfirmId": {
                "type": "string",
                "minLength": 1,
                "description": "Public firm slug, e.g. 'ftmo'"
              }
            }
          },
          "annotations": {
            "title": "Get a prop firm",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "propfirms_search_challenges",
          "title": "Search prop-firm challenges",
          "description": "Search funded-account challenges across all visible prop firms. Filter by challenge rules (account size, fee, steps, profit split, drawdown mode, news/copy/auto trading, weekend holding, …) and by parent-firm properties. Pass propfirmId to list one firm's challenges, or challengeId to fetch specific ones. include=['offers'] returns a deduplicated top-level offers list, with each challenge referencing its applicable offers via offerIds (firm-wide offers included). Uncaptured (null) rule fields are omitted from results and never match filters. This returns each challenge's listed rules and terms, not outcomes: to simulate a challenge found here pass its ids to propfirms_simulate or propfirms_pass_rates, and to screen one strategy across many challenges at once use propfirms_validate_strategy.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "sort": {
                "enum": [
                  "challengeName",
                  "accountSize",
                  "price",
                  "steps",
                  "profitSplitPercent"
                ],
                "type": "string",
                "description": "Sort key (default accountSize descending)"
              },
              "text": {
                "type": "string",
                "description": "Case-insensitive search over challenge name and firm name/slug"
              },
              "steps": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "description": "Exact evaluation step count (1 = instant/funded, 2 = two-step, …)"
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "include": {
                "type": "array",
                "items": {
                  "enum": [
                    "offers"
                  ],
                  "type": "string"
                },
                "description": "Pass ['offers'] to attach live offers that apply to each challenge"
              },
              "interval": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Challenge fee intervals, e.g. 'one-time', 'monthly'"
              },
              "priceMax": {
                "type": "number",
                "description": "Maximum challenge fee (inclusive)"
              },
              "priceMin": {
                "type": "number",
                "description": "Minimum challenge fee (inclusive)"
              },
              "stepsMax": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "description": "Maximum step count (ignored when steps is set)"
              },
              "stepsMin": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "description": "Minimum step count (ignored when steps is set)"
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction; each sort key has a sensible default"
              },
              "pageIndex": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "0-based page index (default 0)"
              },
              "maxLossMax": {
                "type": "number",
                "description": "Upper bound on the overall-loss limit magnitude"
              },
              "propfirmId": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "Public firm slugs, e.g. ['ftmo']"
              },
              "autoTrading": {
                "type": "boolean",
                "description": "Whether automated trading (EAs/bots) is allowed"
              },
              "availableIn": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Country names the firm must NOT restrict, e.g. ['United States']"
              },
              "challengeId": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "Public challenge ids"
              },
              "copyTrading": {
                "type": "boolean",
                "description": "Whether copy trading is allowed"
              },
              "maxLossMode": {
                "type": "array",
                "items": {
                  "enum": [
                    "static-initial",
                    "trailing-realized-eod",
                    "trailing-intraday-unrealized"
                  ],
                  "type": "string"
                },
                "description": "Drawdown modes; challenges without a captured mode never match"
              },
              "newsTrading": {
                "type": "boolean",
                "description": "Whether news trading is allowed"
              },
              "dailyLossMax": {
                "type": "number",
                "description": "Upper bound on the daily-loss limit magnitude (smaller = stricter)"
              },
              "pageQuantity": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size (default 50, max 100)"
              },
              "productTypes": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Product types the firm must offer at least one of, e.g. 'CFD', 'Futures'"
              },
              "challengeName": {
                "type": "string",
                "description": "Case-insensitive substring of the challenge name"
              },
              "accountSizeMax": {
                "type": "number",
                "description": "Maximum account size (inclusive)"
              },
              "accountSizeMin": {
                "type": "number",
                "description": "Minimum account size (inclusive)"
              },
              "maxLeverageMin": {
                "type": "number",
                "description": "Minimum max leverage"
              },
              "profitSplitMin": {
                "type": "number",
                "description": "Minimum trader profit-split percent"
              },
              "weekendHolding": {
                "type": "boolean",
                "description": "Whether holding over the weekend is allowed"
              },
              "isFeeRefundable": {
                "type": "boolean",
                "description": "Whether the challenge fee is refundable"
              },
              "overnightHolding": {
                "type": "boolean",
                "description": "Whether holding overnight is allowed"
              },
              "stoplossRequired": {
                "type": "boolean",
                "description": "Whether a stop loss is required"
              },
              "tradingPlatforms": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Platforms the firm must offer at least one of, e.g. 'MT5', 'cTrader', 'TradingView'"
              },
              "minTradingDaysMax": {
                "type": "number",
                "description": "Maximum required minimum trading days (finds less-strict challenges)"
              },
              "tradedMarketTypes": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Markets the firm must offer at least one of, e.g. 'forex', 'indices', 'commodities'"
              },
              "isPreferredPartner": {
                "type": "boolean",
                "description": "Only LuxAlgo preferred-partner firms when true"
              }
            }
          },
          "annotations": {
            "title": "Search prop-firm challenges",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "propfirms_search_offers",
          "title": "Search prop-firm offers",
          "description": "Search promotional offers (discounts and promo codes) across prop firms — defaults to live (active, unexpired) offers only. propfirmId narrows to one firm; challengeId resolves the offers that apply to a challenge (firm-wide offers included). Every offer carries the promo code, discount, end date, and affiliate link.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "sort": {
                "enum": [
                  "discountValue",
                  "endsAt",
                  "promoCode"
                ],
                "type": "string",
                "description": "Sort key (default: featured first, then discount)"
              },
              "text": {
                "type": "string",
                "description": "Case-insensitive search over promo code, descriptions, and firm name/slug"
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "offerId": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Public offer ids"
              },
              "isActive": {
                "type": "boolean",
                "description": "Defaults to live offers only; pass false to look at inactive offers"
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction; each sort key has a sensible default"
              },
              "offerText": {
                "type": "string",
                "description": "Case-insensitive search over promo code and offer descriptions"
              },
              "pageIndex": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "0-based page index (default 0)"
              },
              "promoCode": {
                "type": "string",
                "description": "Case-insensitive substring of the promo code"
              },
              "isFeatured": {
                "type": "boolean",
                "description": "Only featured offers when true"
              },
              "propfirmId": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "Public firm slugs, e.g. ['ftmo']"
              },
              "challengeId": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "Public challenge ids; an offer matches when it applies to at least one (all-challenges offers match that firm's challenges)"
              },
              "discountMax": {
                "type": "number",
                "description": "Maximum discount value"
              },
              "discountMin": {
                "type": "number",
                "description": "Minimum discount value"
              },
              "pageQuantity": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size (default 50, max 100)"
              },
              "includeExpired": {
                "type": "boolean",
                "description": "When true, ended offers are not hidden (default false)"
              },
              "includeInactive": {
                "type": "boolean",
                "description": "When true, inactive offers are not hidden (default false)"
              },
              "discountIsPercent": {
                "type": "boolean",
                "description": "true for percent discounts, false for absolute amounts"
              }
            }
          },
          "annotations": {
            "title": "Search prop-firm offers",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "propfirms_list_simulatable",
          "title": "List prop firms and challenges",
          "description": "List the prop firms in the live LuxAlgo directory together with every simulatable challenge (challengeId, display name, account size, currency, price, and its rule-semantics provenance). Call this first to discover the firmId + challengeId pairs accepted by propfirms_challenge_rules, propfirms_simulate, propfirms_optimal_risk, propfirms_compare and propfirms_simulate_trades. Challenges whose loss-rule semantics cannot be established are listed under notSimulatable instead of being guessed. The listing is data, not endorsement: firms are alphabetical - no recommendation or ranking is implied, and none should be presented. DATA SOURCE & PROVENANCE: firm data comes live from LuxAlgo's public, keyless prop-firm directory API - the data behind luxalgo.com/prop-firms. Rule semantics are used verbatim where the directory serves structured rule columns; where it serves only free text, semantics are inferred ONLY when one reasonable reading exists, and every inferred field is disclosed in `inferredFields` (provenance 'directory+inferred') - relay those to the user next to any numbers. Challenges whose loss rules cannot be established are refused as not simulatable rather than guessed. Firms change rules; each firm's own page is always authoritative. Without firmId the result is one line per firm (simulatable challenge count, account-size range, challenges that are not simulatable); with firmId it lists that firm's challenges with their ids. NOTE: this lists only the firms and challenges whose rules the engine can encode honestly. The full directory — every visible firm with platforms, prices, payout terms, and live offers/promo codes — is served by propfirms_search, propfirms_search_challenges, and propfirms_search_offers.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "firmId": {
                "type": "string",
                "minLength": 1,
                "description": "Directory firm id or firm name (e.g. 'ftmo'). Returns that firm's simulatable challenges (ids, names, account sizes, prices, provenance). Omit for one line per firm."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "productType": {
                "enum": [
                  "futures",
                  "cfd"
                ],
                "type": "string",
                "description": "Optional filter to one instrument class. Omit to list every firm."
              }
            }
          },
          "annotations": {
            "title": "List prop firms and challenges",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "propfirms_challenge_rules",
          "title": "Get a challenge's full ruleset",
          "description": "Fetch one directory challenge's complete ruleset (ChallengeSpec), adapted from the live LuxAlgo directory: evaluation steps (profit targets in percent units of the initial account, minimum trading days, time limits); the daily-loss rule with its exact semantics (basis = measured from prior-day balance vs prior-day equity; limitBasis = whether a pct limit is a fixed allowance of the initial balance or recomputed daily from the anchor; evaluation = breached on an intraday touch vs only at the close; includesOpenPnl = whether floating P&L can breach it); the max-loss rule and its drawdown mode (How the max-loss floor behaves - the single most consequential rule difference between firms. 'static-initial': floor fixed at initial balance minus the limit; never moves (classic CFD two-step). 'trailing-realized-eod': floor ratchets up with end-of-day balance highs; intraday highs do not move it. 'trailing-intraday-unrealized': floor trails the peak unrealized equity intraday and never stops trailing (futures-style; the most-miscalculated rule in the industry: it cuts pass probability dramatically). 'trailing-locks-at-initial': trails intraday peak equity until the floor reaches the initial balance, then freezes (common futures variant). Locking is also composable: locksAtInitial adds the same lock to an EOD trail, and lockOffsetAmount shifts the lock level to initial balance + that amount (e.g. 100 models 'stops trailing $100 above the start').); per-step consistency rules (steps[].consistency.maxBestDayProfitPct - SIMULATED: one outsized day effectively raises the target until the best-day share complies); fees (price, one-time vs monthly billing, reset fee, activation fee, refundable-on-pass); funded terms (profit split percent, payout frequency, first-payout minimum days, and funded.payoutRules - SIMULATED payout gating: minWinningDays, winningDayMinProfit, per-payout caps maxPayoutPctOfProfit/maxPayoutAmount, bufferAmount, and a windowed consistencyMaxBestDayPct gate); flagsNotSimulated (rules the entry declares but the engine does not simulate - material caveats to relay to the user); and sources (the firm-page citation when the directory serves one). The result also carries `provenance` and `inferredFields` - every rule read from free text instead of a structured column is named there; relay them and treat the firm's page as authoritative. The returned `challenge` object is exactly the shape the simulation tools accept as inline `spec`: copy it, change a rule, and re-simulate to quantify how a rule variation moves pass probability and EV. UNITS: every *Pct rule field and every percent-mode risk value is in PERCENT UNITS (5 = 5%, 0.5 = 0.5%). The one exception is winRate, which is a FRACTION in [0, 1] (0.55 = 55% winners). Probabilities in results are fractions in [0, 1]. DATA SOURCE & PROVENANCE: firm data comes live from LuxAlgo's public, keyless prop-firm directory API - the data behind luxalgo.com/prop-firms. Rule semantics are used verbatim where the directory serves structured rule columns; where it serves only free text, semantics are inferred ONLY when one reasonable reading exists, and every inferred field is disclosed in `inferredFields` (provenance 'directory+inferred') - relay those to the user next to any numbers. Challenges whose loss rules cannot be established are refused as not simulatable rather than guessed. Firms change rules; each firm's own page is always authoritative. NOTE: this returns the simulatable encoding of one challenge's rules; the directory listing with every captured field, plus live offers, is propfirms_get and propfirms_search_challenges.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "firmId",
              "challengeId",
              "context"
            ],
            "properties": {
              "firmId": {
                "type": "string",
                "minLength": 1,
                "description": "Directory firm id or firm name from propfirms_list_simulatable, e.g. 'ftmo'."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "challengeId": {
                "type": "string",
                "minLength": 1,
                "description": "Directory challenge id from propfirms_list_simulatable."
              }
            }
          },
          "annotations": {
            "title": "Get a challenge's full ruleset",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "propfirms_simulate",
          "title": "Simulate a trader through a challenge",
          "description": "Monte Carlo-simulate a trader with the given statistics through a prop-firm challenge and (by default) a funded horizon. Answers: \"What is my chance of passing per attempt, and of ever getting funded? How many attempts and how much total money should I expect? Is this challenge positive expected value for me, and which rule actually kills my attempts?\" Identify the challenge EITHER by directory reference (firmId + challengeId, discovered via propfirms_list_simulatable; firmId accepts the directory id or the firm's name) OR by a full inline `spec` object - the exact shape propfirms_challenge_rules returns, so you can fetch a directory entry, change one rule, and re-simulate to model rule variations. Provide exactly one of the two forms; providing both or neither is an error. Directory references need network access; inline specs are fully offline. The trader is described by flattened parametric fields (one clean design used across all tools): winRate (a FRACTION 0-1), avgWinR/avgLossR and optional winStdR/lossStdR in R-multiples (sizes relative to the amount risked per trade), tradesPerDay with a 'fixed' or 'poisson' day model, and risk sizing via riskMode + riskValue (percent units for percent modes). If you have the user's raw trade series rather than summary stats, prefer propfirms_simulate_trades - it preserves streaks. Returns structuredContent with the full SimResult: perAttempt.passProbability with a Wilson 95% CI and per-step pass rates plus a failure breakdown by rule (daily-loss vs max-loss vs time-limit - which tells the user WHAT to fix); journey.fundedProbability, attempts and cost distributions (cost includes prices, resets, monthly billing, activation, minus refunds), costGivenFunded and daysToFunded; perAttempt.avgDaysWhenPassed/avgDaysWhenFailed and perAttempt.stagnationDays (the longest run of days without a new equity high per attempt - the dead time between progress, which grows sharply as risk per trade shrinks); funded-stage payout distributions plus funded.payoutProbability (P(at least one payout | funded)) and funded.daysToFirstPayout - with payout gating these can be the deciding numbers, since getting funded is not the same as getting paid; ev.evTotal (mean payouts minus costs) with evStandardError and pPositive; drawdown stats; and assumptions (the fully-resolved spec/profile/options the engine actually ran, plus flags and disclaimer). Histogram arrays are omitted unless includeHistograms=true. A compact human summary is returned as text alongside. SIMULATED RULES (engine v1): consistency rules (steps[].consistency) and funded payout gating (funded.payoutRules) are actually SIMULATED, not merely flagged. Consistency uses a rational stop rule (the trader stops a day once more profit cannot help and keeps trading until the best-day share complies - flag 'consistency-stop-rule'); payouts follow a maximum-withdrawal model (withdraw everything the rules allow above buffer/caps, never below the loss floor; balances and floors carry across payouts - flag 'funded-withdrawal-model'); a funded consistency gate is checked per payout window (flag 'funded-consistency-window-approximated'). UNITS: every *Pct rule field and every percent-mode risk value is in PERCENT UNITS (5 = 5%, 0.5 = 0.5%). The one exception is winRate, which is a FRACTION in [0, 1] (0.55 = 55% winners). Probabilities in results are fractions in [0, 1]. DETERMINISM: identical inputs including `seed` reproduce byte-identical results on any platform. Include the seed and path count when reporting numbers so users can reproduce them exactly; re-run with a few different seeds to gauge Monte Carlo spread. ASSUMPTIONS: every result carries assumptions.flags - dataset-declared rules the engine does NOT simulate (e.g. scaling plans or soft daily lockouts, which make real odds worse than simulated) plus engine simplifications - and assumptions.disclaimer. These are material: always surface the flags and the disclaimer to the user alongside the numbers, n",
          "inputSchema": {
            "truncated": true,
            "chars": 23833
          },
          "annotations": {
            "title": "Simulate a trader through a challenge",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "propfirms_optimal_risk",
          "title": "Find pass- and EV-optimal risk per trade",
          "description": "Sweep risk-per-trade over a grid, run the full journey simulation at every point, and report two optima separately: bestByPassProbability (the risk that maximizes a single attempt's chance of passing) and bestByEv (the risk that maximizes expected value across attempts, fees and funded payouts). They usually differ (diverges=true) - and that divergence is the insight: lower risk survives loss limits more often, but EV also weighs the cost of extra attempts and the size of funded payouts, which can favor a different risk. Never present one number as THE optimal risk; report both optima and the trade-off, and let the user choose. The sweep uses common random numbers (the same seed at every grid point), so curves are smooth and the argmax is signal, not Monte Carlo noise. Grid units follow riskMode: percent units for percent modes (default grid 0.1 to 3 in steps of 0.1, i.e. 0.1%-3% per trade), currency per trade for 'fixed-amount' (set min/max/step explicitly). Parametric trader only (riskValue is not a parameter here - the grid supplies it). Cost scales with grid size: one full simulation per point, so ~30 points at the default 10,000 paths takes roughly 10 seconds; use fewer paths or a coarser grid for a first pass, then refine around the optima. UNITS: every *Pct rule field and every percent-mode risk value is in PERCENT UNITS (5 = 5%, 0.5 = 0.5%). The one exception is winRate, which is a FRACTION in [0, 1] (0.55 = 55% winners). Probabilities in results are fractions in [0, 1]. DETERMINISM: identical inputs including `seed` reproduce byte-identical results on any platform. Include the seed and path count when reporting numbers so users can reproduce them exactly; re-run with a few different seeds to gauge Monte Carlo spread. ASSUMPTIONS: every result carries assumptions.flags - dataset-declared rules the engine does NOT simulate (e.g. scaling plans or soft daily lockouts, which make real odds worse than simulated) plus engine simplifications - and assumptions.disclaimer. These are material: always surface the flags and the disclaimer to the user alongside the numbers, never just the headline probability. Results are distributions under stated assumptions, not promises. Results describe simulated outcomes of the user's own inputs under stated assumptions; they are not financial advice or a recommendation of any risk level.",
          "inputSchema": {
            "truncated": true,
            "chars": 23938
          },
          "annotations": {
            "title": "Find pass- and EV-optimal risk per trade",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "propfirms_compare",
          "title": "Compare challenges for one trader",
          "description": "Simulate the SAME trader across several challenges (directory references and/or inline specs, up to 12) under identical options and seed, and return one row per challenge sorted by expected value. THIS IS NOT A RANKING: rows are ordered by EV for the caller's specific inputs - trader stats, risk sizing, and options - and a different trader profile reorders them. The tool computes data for the user's own decision; it implies no endorsement, league table, or recommendation of any firm, and results should be presented that way ('best EV for these inputs', never 'best firm'). Each row carries perAttemptPassProbability, fundedProbability, expectedAttempts, expectedCost, evTotal, pEvPositive, daysToFundedP50, and the challenge's flagsNotSimulated - challenges with more unsimulated rules have optimistic numbers, so compare flags alongside EV, not EV alone. Consistency rules and funded payout gating ARE simulated (engine v1), so EV already reflects them where a ruleset has them. For full per-challenge distributions run propfirms_simulate on the interesting rows. UNITS: every *Pct rule field and every percent-mode risk value is in PERCENT UNITS (5 = 5%, 0.5 = 0.5%). The one exception is winRate, which is a FRACTION in [0, 1] (0.55 = 55% winners). Probabilities in results are fractions in [0, 1]. DETERMINISM: identical inputs including `seed` reproduce byte-identical results on any platform. Include the seed and path count when reporting numbers so users can reproduce them exactly; re-run with a few different seeds to gauge Monte Carlo spread. ASSUMPTIONS: every result carries assumptions.flags - dataset-declared rules the engine does NOT simulate (e.g. scaling plans or soft daily lockouts, which make real odds worse than simulated) plus engine simplifications - and assumptions.disclaimer. These are material: always surface the flags and the disclaimer to the user alongside the numbers, never just the headline probability. Results are distributions under stated assumptions, not promises.",
          "inputSchema": {
            "truncated": true,
            "chars": 23957
          },
          "annotations": {
            "title": "Compare challenges for one trader",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "propfirms_simulate_trades",
          "title": "Simulate from a real trade series",
          "description": "Simulate a challenge by resampling the trader's OWN R-multiple trade series with a stationary block bootstrap instead of a win-rate model. Why resampling matters: challenge rules are breached by streaks, not by averages - a daily-loss limit dies to a cluster of losses inside one day, and a trailing drawdown dies to a losing streak right after an equity peak. Real trade series are streaky (autocorrelation, volatility clustering, edge that comes and goes), and the stationary bootstrap resamples contiguous blocks of the actual series (geometric length, mean blockMeanLength, default 5 trades), so the trader's real streak structure survives into every simulated day. A parametric model with identical summary statistics shuffles trades independently and therefore understates breach risk for streaky traders. Use propfirms_simulate when only summary stats are available; use this whenever the actual trades are. Provide the series as rSeries (array of R-multiples: each trade's P&L divided by the amount risked on it), rSeriesText (pasted JSON/CSV/whitespace text, optional 'R' suffix per value), or one of the timestamped-log inputs below; exactly one of the four, at least 10 trades, 100+ strongly recommended. Returns the same full SimResult as propfirms_simulate (structuredContent, histograms off by default) plus a text summary that also reports the sample's win rate and mean R. TIMESTAMPED LOGS: tradeLogText accepts a pasted CSV/TSV trade log with a header row (open time and R required; close time and direction optional; loose header names are matched; timestamps without an offset are read as UTC). The R-series and, unless tradesPerDay is passed, the trades-per-day rate are derived from the log, and parse warnings are surfaced in the text output. NEWS WINDOWS: with a timestamped input, newsFilter runs the simulation TWICE on the same seed and options, once on the full history and once without the trades opened inside configurable windows around scheduled releases (a built-in recurring-template calendar of high- and medium-impact events across USD, EUR, GBP, JPY, AUD, CAD, CHF, NZD, plus optional custom event times). The returned SimResult is the news-avoided scenario; structuredContent.newsComparison carries both scenarios' pass probability, funded probability and EV, the excluded-trade count, and a calendar caveat that must be relayed verbatim. PORTFOLIO MODE: tradeLogTexts (2 to 5 logs) merges several timestamped histories into one chronological series and simulates the combined account, so cross-strategy loss clustering survives. Overlap across the histories is ALWAYS analyzed and attached as structuredContent.portfolioOverlap; the text summary carries the audit-risk verdict, and a 'high' verdict is an explicit warning that a prop firm may audit or refuse payouts for correlated accounts. SIMULATED RULES (engine v1): consistency rules (steps[].consistency) and funded payout gating (funded.payoutRules) are actually SIMULATED, not merely flagged. Consistency uses a rational stop rule (the trader stops a day once more profit cannot help and keeps trading until the best-day share complies - flag 'consistency-stop-rule'); payouts follow a maximum-withdrawal model (withdraw everything the rules allow above buffer/caps, never below the loss floor; balances and floors carry across payouts - flag 'funded-withdrawal-model'); a funded consistency gate is checked per payout window (flag 'funded-consistency-window-approximated'). UNITS: every *Pct rule field and every percent-mode risk value is in PERCENT UNITS (5 = 5%, 0.5 = 0.5%). The one exception is winRate, which is a FRACTION in [0, 1] (0.55 = 55% winners). Probabilities in results are fractions in [0, 1]. DETERMINISM: identical inputs including `seed` reproduce byte-identical results on any platform. Include the seed and path count when reporting numbers so users can reproduce them exactly; re-run with a few different seeds to gauge Monte Carlo spread. ASSUMPTIONS: every result carries assump",
          "inputSchema": {
            "truncated": true,
            "chars": 28184
          },
          "annotations": {
            "title": "Simulate from a real trade series",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "propfirms_pass_rates",
          "title": "Reference pass rates per archetype",
          "description": "Reference challenge pass rates computed live from the directory's encoded rules with the same engine, seed (42), path count (10,000) and reference archetypes luxalgo.com/prop-firms uses — per challenge and per archetype (developing 45% win rate / consistent 48% / proven edge 52%, all risking conservatively). Returns per-attempt pass probability with 95% CI, P(funded), expected attempts and total cost, EV, payout probability, funded-blowup probability, each cell's assumption flag ids, and the ruleset's provenance (structured directory columns vs fields inferred from listing text — always relay inferred fields). Deterministic per ruleset and cached — cheap to call. These are REFERENCE odds for orientation and comparison, not the user's personal odds: for their own statistics use propfirms_simulate (summary stats) or propfirms_simulate_trades (their real trade series). Not a ranking; a firm's page is authoritative for current rules (check lastVerified). Expected costs use the directory's listed challenge prices; full firm profiles and live offers are directory data (propfirms_get, propfirms_search_offers). Without challengeId the result is a firm overview: one account size per rules program (up to 3 programs) with every other simulatable challenge listed by id; a challengeId gives that challenge's exact numbers.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "firmId",
              "context"
            ],
            "properties": {
              "firmId": {
                "type": "string",
                "minLength": 1,
                "description": "Directory firm id (propfirmId, e.g. 'ftmo') or firm name — from propfirms_list_simulatable."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "challengeId": {
                "type": "string",
                "minLength": 1,
                "description": "One challenge id, for its exact numbers. Omit for the firm overview: one account size per rules program (up to 3 programs), with every other simulatable challenge listed by id."
              }
            }
          },
          "annotations": {
            "title": "Reference pass rates per archetype",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "propfirms_validate_strategy",
          "title": "Screen a strategy across all challenges",
          "description": "Answer 'which challenges would MY strategy actually pass?' in one call: simulate the given strategy through every simulatable challenge in the live directory (optionally scoped by productType, account-size range, priceMax, or firm) and split the results by an explicit, caller-stated bar. Describe the strategy EITHER as real trades (rSeries/rSeriesText R-multiples, preferred: the stationary block bootstrap preserves streaks, which is what breaches loss limits) OR as summary stats (winRate + avgWinR, optional spreads), plus tradesPerDay and risk sizing (riskMode + riskValue). The bar is minPassPerAttempt (a fraction, default 0.5) with optional requirePositiveEv; always state the bar when relaying results. Returns per challenge: pass probability per attempt with 95% CI, P(funded), expected attempts and total cost, EV over the funded horizon, P(EV>0), assumption flag ids, and which rule semantics were inferred from listing text. HONESTY FRAME: this is a screen of distributions for the caller's inputs and bar, NOT a ranking or endorsement; challenges whose rules cannot be encoded honestly are excluded and counted, never guessed; flagged (unsimulated) rules make numbers optimistic, so relay flags. One full simulation runs per challenge (default 5,000 paths each; results are deterministic per seed), and scopes above 40 challenges are refused rather than silently truncated: narrow the scope instead. Numbers move with risk sizing; sweep one challenge with propfirms_optimal_risk afterwards. Fees and expected costs use the directory's listed prices (live discounts are NOT applied); prices, firm profiles, and current offers are directory data (propfirms_search_challenges, propfirms_get, propfirms_search_offers).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "tradesPerDay",
              "riskValue",
              "context"
            ],
            "properties": {
              "firm": {
                "type": "string",
                "minLength": 1,
                "description": "Restrict to one firm by propfirmId or name (e.g. 'ftmo')."
              },
              "seed": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "RNG seed (integer or string). Default 42. Same inputs + seed reproduce byte-identical results — include the seed when reporting so users can reproduce the numbers."
              },
              "paths": {
                "type": "integer",
                "maximum": 20000,
                "minimum": 100,
                "description": "Monte Carlo paths PER CHALLENGE. Default 5,000 here (one full simulation runs per challenge in scope, so this tool costs number-of-challenges times one simulation); raise it to tighten confidence intervals on a narrowed scope."
              },
              "avgWinR": {
                "type": "number",
                "description": "Average winning trade in R-multiples, i.e. multiples of the amount risked per trade (1.5 = winners average 1.5x the risk).",
                "exclusiveMinimum": 0
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "rSeries": {
                "type": "array",
                "items": {
                  "type": "number"
                },
                "minItems": 10,
                "description": "The strategy's real trades as R-multiples in chronological order (P&L divided by amount risked; +1.8 = won 1.8x risk, -1 = lost the risk). At least 10 trades, 100+ recommended. When given, the screen uses the stationary block bootstrap (streaks preserved) instead of winRate/avgWinR."
              },
              "winRate": {
                "type": "number",
                "maximum": 1,
                "minimum": 0,
                "description": "Probability a trade is a winner, as a FRACTION in [0, 1] (0.55 = 55% winners) — NOT percent units. The most impactful input: traders routinely overestimate it by a few points, which can flip EV negative, so prefer measured stats over self-reported ones."
              },
              "winStdR": {
                "type": "number",
                "minimum": 0,
                "description": "Standard deviation of winner sizes in R (0 = every winner is exactly avgWinR). Default 0. Adding spread makes streak damage more realistic."
              },
              "avgLossR": {
                "type": "number",
                "description": "Average losing trade in R, as a POSITIVE number. Default 1 (losers lose exactly the risked amount, i.e. stops are honored). Raise above 1 to model slippage or blown stops.",
                "exclusiveMinimum": 0
              },
              "lossStdR": {
                "type": "number",
                "minimum": 0,
                "description": "Standard deviation of loser sizes in R (0 = every loser is exactly avgLossR). Default 0."
              },
              "priceMax": {
                "type": "number",
                "description": "Only challenges costing at most this.",
                "exclusiveMinimum": 0
              },
              "riskMode": {
                "enum": [
                  "percent-of-balance",
                  "percent-of-initial",
                  "fixed-amount"
                ],
                "type": "string",
                "description": "How riskValue is interpreted. 'percent-of-balance' (default): risk compounds with the current balance. 'percent-of-initial': constant currency risk derived from the initial account size — how most prop traders size, since loss limits are fixed in currency. 'fixed-amount': explicit currency risked per 1R."
              },
              "riskValue": {
                "type": "number",
                "description": "Risk per trade — the value of 1R. PERCENT UNITS for percent modes (0.5 = 0.5% risked per trade; a typical prop range is 0.25-2), or a currency amount for 'fixed-amount'. NOT a fraction.",
                "exclusiveMinimum": 0
              },
              "attemptCap": {
                "type": "integer",
                "maximum": 1000,
                "minimum": 1,
                "description": "Maximum challenge attempts per path before that path gives up. Default 25. Journey statistics (expected attempts/cost, P(funded)) are censored at this cap."
              },
              "productType": {
                "enum": [
                  "futures",
                  "cfd"
                ],
                "type": "string",
                "description": "Restrict the screen to one instrument class."
              },
              "rSeriesText": {
                "type": "string",
                "minLength": 1,
                "description": "The same series as pasted text (JSON, CSV, or whitespace separated, optional 'R' suffix). Mutually exclusive with rSeries."
              },
              "tradesPerDay": {
                "type": "number",
                "description": "Average trades per simulated trading day. More trades per day means more ways to hit the daily loss limit within a single day.",
                "exclusiveMinimum": 0
              },
              "accountSizeMax": {
                "type": "number",
                "description": "Only challenges with at most this account size.",
                "exclusiveMinimum": 0
              },
              "accountSizeMin": {
                "type": "number",
                "description": "Only challenges with at least this account size.",
                "exclusiveMinimum": 0
              },
              "simulateFunded": {
                "type": "boolean",
                "description": "Whether to simulate the funded stage (payouts, blowup risk) after passing. Default true — EV is only meaningful with it on; set false to study the evaluation alone."
              },
              "blockMeanLength": {
                "type": "number",
                "description": "Bootstrap mean block length in trades. Default 5. Only used with rSeries/rSeriesText.",
                "exclusiveMinimum": 0
              },
              "fundedHorizonDays": {
                "type": "integer",
                "maximum": 2000,
                "minimum": 1,
                "description": "Funded-stage horizon in trading days for the payout/EV simulation. Default 90 (about 4 calendar months). EV scales with this choice — state it when reporting EV."
              },
              "minPassPerAttempt": {
                "type": "number",
                "maximum": 1,
                "minimum": 0,
                "description": "The pass bar as a FRACTION in [0, 1]: a challenge counts as passing when the simulated per-attempt pass probability is at least this. Default 0.5. State the bar when relaying results."
              },
              "requirePositiveEv": {
                "type": "boolean",
                "description": "Additionally require expected value (payouts minus all fees over the funded horizon) above zero. Default false."
              },
              "tradesPerDayModel": {
                "enum": [
                  "fixed",
                  "poisson"
                ],
                "type": "string",
                "description": "'fixed' (default): the same count every day. 'poisson': daily count drawn Poisson(tradesPerDay); days can then have zero trades, which do not count as trading days."
              }
            }
          },
          "annotations": {
            "title": "Screen a strategy across all challenges",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "trackers_datasets",
          "title": "List Market Trackers datasets",
          "description": "The Market Trackers catalog: every dataset of US public-record market data the LuxAlgo pipeline publishes as CC0 dumps — congressional trades, insider (Forms 3/4/5) transactions, 13F holdings, federal contracts and grants, lobbying filings, FINRA short-sale volume, granted patents, clinical trials, FDA drug events, CFTC positioning, federal bills, FEC campaign finance, hearing transcripts, Federal Reserve communications, committee assignments, Wikipedia pageviews. Returns each dataset's row count, freshness, the years with data (live tree vs deep-history archives), and whether it is ticker-searchable. Pass dataset for the full field roster, filterable paths, caveats, per-year coverage, source health, and dump URLs — read it before composing trackers_query filters.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "dataset": {
                "enum": [
                  "congress-trades",
                  "insider-transactions",
                  "thirteenf-holdings",
                  "gov-contracts",
                  "gov-grants",
                  "lobbying-filings",
                  "short-volume",
                  "committee-assignments",
                  "patents",
                  "clinical-trials",
                  "fda-approvals",
                  "cot-reports",
                  "wiki-pageviews",
                  "bills",
                  "fec-candidates",
                  "fec-contributions",
                  "congress-hearings",
                  "fed-communications"
                ],
                "type": "string",
                "description": "One dataset for the detailed view; omit to list all"
              }
            }
          },
          "annotations": {
            "title": "List Market Trackers datasets",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "trackers_query",
          "title": "Query a Market Trackers dataset",
          "description": "Search one Market Trackers dataset by ticker, free text, exact field values, and event-date range, with paging and newest/oldest ordering. Data is read from year-sharded CC0 dumps: pass years (or since/until) to choose which years to read — default is the newest year with data. Deep-history years (see archiveYears in trackers_datasets) can be tens of MB compressed each, so read them one or two at a time; the tool refuses selections over its byte budget and says how to narrow. Every row carries provenance.sourceUrl (the SEC filing, disclosure, award, or record it came from). Examples: insider purchases at NVDA in 2024 → dataset insider-transactions, ticker NVDA, years [2024], where {code: 'P'}; a member of Congress's trades → congress-trades, text set to their name; who lobbied on a bill → lobbying-filings, text 'H.R.1234'.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "dataset",
              "context"
            ],
            "properties": {
              "sort": {
                "enum": [
                  "newest",
                  "oldest"
                ],
                "type": "string",
                "description": "Order by event date (default newest)"
              },
              "text": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Case-insensitive substring over the dataset's name/title fields (member, insider, issuer, recipient, registrant and client, sponsor, assignee, bill title, …); see textPaths in trackers_datasets"
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Rows to return (default 25, max 100)"
              },
              "since": {
                "type": "string",
                "pattern": "^\\d{4}(-\\d{2}(-\\d{2})?)?$",
                "description": "Earliest event date (YYYY-MM-DD, YYYY-MM or YYYY), inclusive"
              },
              "until": {
                "type": "string",
                "pattern": "^\\d{4}(-\\d{2}(-\\d{2})?)?$",
                "description": "Latest event date, inclusive"
              },
              "where": {
                "type": "object",
                "description": "Exact field matches by dot path, e.g. {\"side\":\"buy\"}, {\"member.state\":\"CA\"}, {\"code\":\"P\"}, {\"formType\":\"4\"}; string comparisons are case-insensitive, arrays match when any element does",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": [
                    "string",
                    "number",
                    "boolean"
                  ]
                }
              },
              "years": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 2100,
                  "minimum": 1900
                },
                "maxItems": 8,
                "description": "Event years to read (max 8); default is the newest year with data. Prefer one year at a time for deep-history datasets."
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, for paging (default 0)"
              },
              "ticker": {
                "type": "string",
                "maxLength": 12,
                "minLength": 1,
                "description": "Trading symbol, case-insensitive (e.g. 'NVDA'); matches the dataset's ticker field(s). Only datasets flagged tickerSearchable carry tickers."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "dataset": {
                "enum": [
                  "congress-trades",
                  "insider-transactions",
                  "thirteenf-holdings",
                  "gov-contracts",
                  "gov-grants",
                  "lobbying-filings",
                  "short-volume",
                  "committee-assignments",
                  "patents",
                  "clinical-trials",
                  "fda-approvals",
                  "cot-reports",
                  "wiki-pageviews",
                  "bills",
                  "fec-candidates",
                  "fec-contributions",
                  "congress-hearings",
                  "fed-communications"
                ],
                "type": "string",
                "description": "Dataset id, from trackers_datasets"
              }
            }
          },
          "annotations": {
            "title": "Query a Market Trackers dataset",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "trackers_latest",
          "title": "Newest Market Trackers rows",
          "description": "What the last daily publish added to one dataset — the newest ingestion day's rows (the dumps' latest.json), optionally narrowed by ticker or text. The cheapest way to see what is new: today's insider filings, this week's congressional disclosures, the latest lobbying registrations. Not available for snapshot-only bulk datasets (patents); use trackers_query there.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "dataset",
              "context"
            ],
            "properties": {
              "sort": {
                "enum": [
                  "newest",
                  "oldest"
                ],
                "type": "string",
                "description": "Order by event date (default newest)"
              },
              "text": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Case-insensitive substring over the dataset's name/title fields (member, insider, issuer, recipient, registrant and client, sponsor, assignee, bill title, …); see textPaths in trackers_datasets"
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Rows to return (default 25, max 100)"
              },
              "where": {
                "type": "object",
                "description": "Exact field matches by dot path, e.g. {\"side\":\"buy\"}, {\"member.state\":\"CA\"}, {\"code\":\"P\"}, {\"formType\":\"4\"}; string comparisons are case-insensitive, arrays match when any element does",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": [
                    "string",
                    "number",
                    "boolean"
                  ]
                }
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, for paging (default 0)"
              },
              "ticker": {
                "type": "string",
                "maxLength": 12,
                "minLength": 1,
                "description": "Trading symbol, case-insensitive (e.g. 'NVDA'); matches the dataset's ticker field(s). Only datasets flagged tickerSearchable carry tickers."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "dataset": {
                "enum": [
                  "congress-trades",
                  "insider-transactions",
                  "thirteenf-holdings",
                  "gov-contracts",
                  "gov-grants",
                  "lobbying-filings",
                  "short-volume",
                  "committee-assignments",
                  "patents",
                  "clinical-trials",
                  "fda-approvals",
                  "cot-reports",
                  "wiki-pageviews",
                  "bills",
                  "fec-candidates",
                  "fec-contributions",
                  "congress-hearings",
                  "fed-communications"
                ],
                "type": "string",
                "description": "Dataset id, from trackers_datasets"
              }
            }
          },
          "annotations": {
            "title": "Newest Market Trackers rows",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "trackers_ticker",
          "title": "Ticker across Market Trackers",
          "description": "One ticker across every ticker-bearing Market Trackers dataset for one year (default: the current year): insider transactions, congressional trades, 13F holdings, federal contracts and grants, lobbying filings by the company, short-sale volume, clinical trials, FDA events, patents, Wikipedia pageviews. Returns per-dataset match counts with the newest rows of each — a public-record dossier from primary sources. Deep-history archive years too large for one fan-out are listed under skipped with the trackers_query call that reads them.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "ticker",
              "context"
            ],
            "properties": {
              "year": {
                "type": "integer",
                "maximum": 2100,
                "minimum": 1900,
                "description": "Event year to read (default: the current year)"
              },
              "limit": {
                "type": "integer",
                "maximum": 25,
                "minimum": 1,
                "description": "Newest rows to include per dataset (default 5)"
              },
              "ticker": {
                "type": "string",
                "maxLength": 12,
                "minLength": 1,
                "description": "Trading symbol, e.g. 'NVDA'"
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "Ticker across Market Trackers",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "edge_symbols",
          "title": "Hosted Edge Stats coverage",
          "description": "What the hosted Edge Stats store covers: the symbols, their session calendars, coverage windows, session counts, and when the nightly build last ran. Session statistics (how often a setup actually worked, with sample sizes and confidence intervals) come from the open-source edge-stats engine over free market data. Start here, then edge_presets for the questions you can ask, then edge_report for a result. Each symbol carries `chart_url`, the link that opens that market on a Vela chart.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "Hosted Edge Stats coverage",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "edge_presets",
          "title": "List Edge Stats report presets",
          "description": "The catalog of session-statistics questions the hosted store precomputes nightly — gap fills, opening-range breakouts, day-of-week effects, event-day behavior, and more. Each preset states in plain language what its number means. Returns preset ids for edge_report.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "category": {
                "type": "string",
                "description": "Narrow to one category (the result lists all categories)"
              }
            }
          },
          "annotations": {
            "title": "List Edge Stats report presets",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "edge_report",
          "title": "Get a hosted Edge Stats report",
          "description": "One precomputed session-statistics result: P(outcome | conditions) for a preset on a hosted symbol, in the engine's full honesty envelope — the estimate with N and a Wilson 95% confidence interval, minimum-sample guards, a first-half vs second-half stability split, per-year counts, the value distribution where the outcome is continuous, and the disclaimer. Historical conditional frequencies, not predictions. Preset ids come from edge_presets; symbols from edge_symbols. `chart_url` opens the symbol on a Vela chart at an interval that suits the preset.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "preset",
              "symbol",
              "context"
            ],
            "properties": {
              "preset": {
                "type": "string",
                "minLength": 1,
                "description": "Preset id, e.g. 'gap-fill' — see edge_presets"
              },
              "symbol": {
                "type": "string",
                "minLength": 1,
                "description": "Hosted symbol, e.g. 'BTCUSDT' — see edge_symbols"
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "Get a hosted Edge Stats report",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "luxalgo_account",
          "title": "My LuxAlgo account",
          "description": "The signed-in user's LuxAlgo account: plan tier, entitlements (limits such as alerts, historical bars, AI credits) and profile basics. Use it to tailor answers to what the user's plan actually allows, or when the user asks what plan they are on. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "My LuxAlgo account",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "journal_list_accounts",
          "title": "List journal accounts",
          "description": "The signed-in user's trade-journal accounts — id, name, broker, kind (`sync` mirrors a live broker connection, `import` came from statements, `manual` is hand-entered), currency, initial balance, P&L lot method, last broker sync, archived state — plus `timeZone`, the journal timezone every date in the journal tools is expressed in. Call this first: every other journal tool's `accounts` filter takes these ids and rejects unknown ones, and journal_add_trade needs a `manual` or `import` account. An empty list means no journal yet. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "List journal accounts",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "journal_overview",
          "title": "Journal dashboard",
          "description": "The journal dashboard in one call for a window: performance metrics (net/gross P&L, fees, win rate, day win rate, profit factor, expectancy, average win/loss and their ratio, largest win/loss, streaks, max drawdown, recovery factor, profit concentration, average realized R), the Edge Score with its six components, per-day P&L stats, the cumulative equity curve, open positions, and the accounts and settings the numbers cover. Closed trades bucket by close day in the journal timezone; open positions count toward any window that reaches today. `compare: true` adds `previous` — the equal-length window just before. Defaults to the last 30 days; pass `range: 'all'` or explicit `from`/`to` for more. Null metrics are not computable yet (e.g. no losses → `profitFactorIsInfinite`). Use journal_breakdown for where the P&L comes from and journal_list_trades for the trades themselves. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "to": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Inclusive end day (YYYY-MM-DD, journal timezone). Overrides `range`."
              },
              "from": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Inclusive start day (YYYY-MM-DD, journal timezone). Overrides `range`."
              },
              "range": {
                "enum": [
                  "today",
                  "7d",
                  "30d",
                  "90d",
                  "365d",
                  "ytd",
                  "all"
                ],
                "type": "string",
                "description": "Named window ending today in the journal timezone. Ignored when from/to are given."
              },
              "compare": {
                "type": "boolean",
                "description": "Also compute the equal-length window immediately before this one."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "accounts": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "Journal account ids to scope to (from journal_list_accounts). Omit for every account, archived ones included. Unknown ids are rejected."
              }
            }
          },
          "annotations": {
            "title": "Journal dashboard",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "journal_calendar",
          "title": "Journal P&L calendar",
          "description": "One month of the P&L calendar: week rows of day cells (net and gross P&L, fees, trade/win/loss/breakeven counts, volume; null for days with no trades), each week's net P&L and trade count, and the month's net P&L, trade count, trading days and winning days. Days are in the journal timezone. Omit `month` for the current month. Drill into one day with journal_get_day. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "month": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}$",
                "description": "Month as YYYY-MM. Default: the current month in the journal timezone."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "accounts": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "Journal account ids to scope to (from journal_list_accounts). Omit for every account, archived ones included. Unknown ids are rejected."
              }
            }
          },
          "annotations": {
            "title": "Journal P&L calendar",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "journal_breakdown",
          "title": "Journal P&L breakdown",
          "description": "Where the P&L actually comes from: closed trades in the window grouped nine ways — weekday, time of day, hold time, symbol, side, position size, tag, rating and asset class — each group with trade count, wins, losses, net P&L, average net P&L and win rate (breakevens excluded). Defaults to all time, since groups need sample size; narrow with `range` or `from`/`to`. The tool for 'what am I good or bad at' questions; journal_overview has the headline numbers. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "to": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Inclusive end day (YYYY-MM-DD, journal timezone). Overrides `range`."
              },
              "from": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Inclusive start day (YYYY-MM-DD, journal timezone). Overrides `range`."
              },
              "range": {
                "enum": [
                  "today",
                  "7d",
                  "30d",
                  "90d",
                  "365d",
                  "ytd",
                  "all"
                ],
                "type": "string",
                "description": "Named window ending today in the journal timezone. Ignored when from/to are given."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "accounts": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "Journal account ids to scope to (from journal_list_accounts). Omit for every account, archived ones included. Unknown ids are rejected."
              }
            }
          },
          "annotations": {
            "title": "Journal P&L breakdown",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "journal_list_trades",
          "title": "List journal trades",
          "description": "Trade summaries — `key`, account, symbol, asset class, direction, status (open/win/loss/breakeven), open and close times, quantity and open quantity, average entry/exit, gross and net P&L, fees, fill count, duration, realized R, tags, rating, reviewed flag, hasNotes — newest-opened first by default. `sort` orders by any of openedAt, closedAt, netPnl, grossPnl, durationMs, quantity, symbol or rating (names match the response fields); `order` is desc unless set, except symbol which defaults to asc. Trades lacking the sort value (open trades for closedAt/durationMs, unrated for rating) come last in either order; netPnl is after fees, grossPnl before. Filter by account ids, open-day window (`from`/`to` are inclusive YYYY-MM-DD day keys in the journal timezone, applied to the trade's open day; open positions are always listed), symbol, direction, status or one exact tag. Keyset-paginated: pass `nextCursor` back as `cursor` with the same sort, order and filters. Examples: biggest winners this month = from/to + sort netPnl; worst by gross = sort grossPnl, order asc, status loss; longest holds = sort durationMs. Summaries carry no fills or note text: journal_get_trade with the `key` has those. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "to": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Inclusive end day (YYYY-MM-DD, journal timezone). Overrides `range`."
              },
              "tag": {
                "type": "string",
                "maxLength": 40,
                "minLength": 1,
                "description": "Trades carrying exactly this tag (see journal_list_tags)."
              },
              "from": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Inclusive start day (YYYY-MM-DD, journal timezone). Overrides `range`."
              },
              "sort": {
                "enum": [
                  "openedAt",
                  "closedAt",
                  "netPnl",
                  "grossPnl",
                  "durationMs",
                  "quantity",
                  "symbol",
                  "rating"
                ],
                "type": "string",
                "description": "Field to order by; default openedAt. Trades without a value for it come last in either order."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 25."
              },
              "order": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Default desc (largest / latest first); symbol defaults to asc (A→Z)."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "`nextCursor` from the previous page; keep every other argument identical."
              },
              "status": {
                "enum": [
                  "open",
                  "win",
                  "loss",
                  "breakeven"
                ],
                "type": "string"
              },
              "symbol": {
                "type": "string",
                "maxLength": 30,
                "minLength": 1,
                "description": "One symbol, e.g. 'AAPL' (case-insensitive)."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "accounts": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "Journal account ids to scope to (from journal_list_accounts). Omit for every account, archived ones included. Unknown ids are rejected."
              },
              "direction": {
                "enum": [
                  "long",
                  "short"
                ],
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "List journal trades",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "journal_get_trade",
          "title": "Get one journal trade",
          "description": "One trade in full: the summary fields plus its fills (each with the effective values, what the source reported, the user's corrections and whether it is hidden), per-exit gross P&L, hidden fills inside the trade's span, and every annotation — notes, tags, mistakes, playbook id, stop loss, profit target, review time. Use after journal_list_trades or journal_get_day when the user asks about a specific trade or before annotating it. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "key",
              "context"
            ],
            "properties": {
              "key": {
                "type": "string",
                "minLength": 1,
                "description": "The trade's `key` exactly as returned by journal_list_trades, journal_get_day, journal_search_notes or journal_add_trade. Never construct one."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "Get one journal trade",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "journal_get_day",
          "title": "Get one journal day",
          "description": "A single trading day: its stats (null when nothing traded), its trades (closed that day, or opened that day and still open) as summaries, and the day's notes with their ids. `date` is a YYYY-MM-DD day key in the journal timezone. Use it for 'how did Tuesday go', and to find note ids for journal_update_note. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "date",
              "context"
            ],
            "properties": {
              "date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "The day, YYYY-MM-DD in the journal timezone."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "accounts": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "Journal account ids to scope to (from journal_list_accounts). Omit for every account, archived ones included. Unknown ids are rejected."
              }
            }
          },
          "annotations": {
            "title": "Get one journal day",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "journal_list_tags",
          "title": "List journal tags, mistakes and playbooks",
          "description": "The user's annotation vocabulary: every tag, mistake and playbook id they have put on any trade (open or closed), most-used first with the number of trades carrying each. Check it before journal_update_trade so new annotations reuse the user's own words instead of minting near-duplicates. Per-trade tags are on each trade summary, not here. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "accounts": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "Journal account ids to scope to (from journal_list_accounts). Omit for every account, archived ones included. Unknown ids are rejected."
              }
            }
          },
          "annotations": {
            "title": "List journal tags, mistakes and playbooks",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "journal_search_notes",
          "title": "Search journal notes",
          "description": "Search the notes feed — day notes and trades that carry notes — newest first as one stream split by kind: `notes` (day notes, with ids for journal_update_note) and `tradeNotes` (the trade summary with its note text; annotate via journal_update_trade). Filter by case-insensitive text (`q`), day-key window, symbol (trade notes only — day notes have no symbol and drop out) and account ids; keyset-paginated via `cursor`/`nextCursor`. Omit every filter for the latest notes. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "q": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Substring to look for in note text, case-insensitive."
              },
              "to": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Inclusive end day (YYYY-MM-DD, journal timezone). Overrides `range`."
              },
              "from": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Inclusive start day (YYYY-MM-DD, journal timezone). Overrides `range`."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 25."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "`nextCursor` from the previous page; keep every other argument identical."
              },
              "symbol": {
                "type": "string",
                "maxLength": 30,
                "minLength": 1
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "accounts": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "Journal account ids to scope to (from journal_list_accounts). Omit for every account, archived ones included. Unknown ids are rejected."
              }
            }
          },
          "annotations": {
            "title": "Search journal notes",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "journal_add_trade",
          "title": "Log a trade by hand",
          "description": "Log a trade by adding its fills to a `manual` or `import` journal account (never a broker-synced one — the sync owns those). The journal derives trades from fills: a long round trip is a buy fill then a sell fill, a short is sell then buy, scale-ins and partial exits are just more fills, and a lone fill opens a position. Times are ISO 8601 instants with offset; fees are per fill. Fills identical to existing ones are skipped as duplicates. Returns the insert counts and the trade(s) the fills now belong to, with `key`s for journal_update_trade. Correcting or removing an existing fill is done in the app, not here. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "accountId",
              "fills",
              "context"
            ],
            "properties": {
              "fills": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "symbol",
                    "side",
                    "quantity",
                    "price",
                    "executedAt"
                  ],
                  "properties": {
                    "fee": {
                      "type": "number",
                      "minimum": 0,
                      "description": "Commission and fees for this fill, in the account currency. Default 0."
                    },
                    "side": {
                      "enum": [
                        "buy",
                        "sell"
                      ],
                      "type": "string"
                    },
                    "price": {
                      "type": "number",
                      "minimum": 0,
                      "description": "Fill price per unit."
                    },
                    "symbol": {
                      "type": "string",
                      "maxLength": 30,
                      "minLength": 1,
                      "description": "Ticker as the user names it, e.g. 'AAPL', 'ES', 'BTCUSDT'."
                    },
                    "quantity": {
                      "type": "number",
                      "description": "Units, shares or contracts filled — always positive; `side` carries the direction.",
                      "exclusiveMinimum": 0
                    },
                    "assetClass": {
                      "enum": [
                        "equity",
                        "option",
                        "futures",
                        "forex",
                        "crypto",
                        "cfd",
                        "other"
                      ],
                      "type": "string"
                    },
                    "executedAt": {
                      "type": "string",
                      "minLength": 1,
                      "description": "When the fill happened — ISO 8601 with a UTC offset, e.g. '2026-09-08T13:35:00-04:00'. Order among fills follows this."
                    }
                  }
                },
                "maxItems": 100,
                "minItems": 1,
                "description": "The fills, in any order."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "accountId": {
                "type": "string",
                "minLength": 1,
                "description": "A `manual` or `import` account id from journal_list_accounts."
              }
            }
          },
          "annotations": {
            "title": "Log a trade by hand",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "journal_update_trade",
          "title": "Annotate a journal trade",
          "description": "Annotate a trade — the user-owned fields only: `notes` (free text about this trade), `tags`, `mistakes`, `playbookId`, `rating` 1–5, `stopLoss` and `profitTarget` (price levels; the stop is what realized R is measured against) and `reviewed`. `tags`/`mistakes` replace the whole list; use `addTags`/`removeTags`/`addMistakes`/`removeMistakes` to change a few entries without clobbering the rest (check journal_list_tags for the user's existing words). Pass null to clear a field. Does not touch fills, prices or P&L — those derive from the fills. Returns the updated trade in full. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "key",
              "context"
            ],
            "properties": {
              "key": {
                "type": "string",
                "minLength": 1,
                "description": "The trade's `key` exactly as returned by journal_list_trades, journal_get_day, journal_search_notes or journal_add_trade. Never construct one."
              },
              "tags": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 40,
                      "minLength": 1
                    },
                    "maxItems": 20,
                    "description": "Replace the whole tag list; null clears it. Not with addTags/removeTags."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 20000
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Replaces the trade's note text; null clears it."
              },
              "rating": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 5,
                    "minimum": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Execution quality 1–5; null clears it."
              },
              "addTags": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 40,
                  "minLength": 1
                },
                "maxItems": 20,
                "description": "Tags to add (existing ones are kept; case-insensitive duplicates are ignored)."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "mistakes": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 80,
                      "minLength": 1
                    },
                    "maxItems": 20,
                    "description": "Replace the whole mistakes list; null clears it. Not with addMistakes/removeMistakes."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "reviewed": {
                "type": "boolean",
                "description": "Mark the trade reviewed (true) or not (false)."
              },
              "stopLoss": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Planned stop price; null clears it."
              },
              "playbookId": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 100
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Playbook / setup name this trade followed; null clears it."
              },
              "removeTags": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 40,
                  "minLength": 1
                },
                "maxItems": 20,
                "description": "Tags to remove (case-insensitive)."
              },
              "addMistakes": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 80,
                  "minLength": 1
                },
                "maxItems": 20,
                "description": "Mistakes to add."
              },
              "profitTarget": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Planned target price; null clears it."
              },
              "removeMistakes": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 80,
                  "minLength": 1
                },
                "maxItems": 20,
                "description": "Mistakes to remove (case-insensitive)."
              }
            }
          },
          "annotations": {
            "title": "Annotate a journal trade",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "journal_write_note",
          "title": "Write a journal note",
          "description": "Add a new note to a trading day — any day, traded or not; `date` is YYYY-MM-DD in the journal timezone. Days hold any number of notes, so this never overwrites: to change an existing note use journal_update_note, and for a note about one specific trade use journal_update_trade's `notes`. Returns the note with its id. Day notes in the LuxAlgo journal: https://docs.luxalgo.com/platform/workspaces/journal/notes Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "date",
              "body",
              "context"
            ],
            "properties": {
              "body": {
                "type": "string",
                "maxLength": 50000,
                "minLength": 1,
                "description": "The note text (plain text or markdown)."
              },
              "date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "The day the note belongs to, YYYY-MM-DD in the journal timezone."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "Write a journal note",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "journal_update_note",
          "title": "Update a journal note",
          "description": "Replace a day note's text and/or move it to another day, by note id (from journal_get_day or journal_search_notes). The body is replaced whole — to append, read the current text first and send the full new version. Trade notes are edited with journal_update_trade, not here. Returns the updated note. Day notes in the LuxAlgo journal: https://docs.luxalgo.com/platform/workspaces/journal/notes Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "noteId",
              "context"
            ],
            "properties": {
              "body": {
                "type": "string",
                "maxLength": 50000,
                "minLength": 1,
                "description": "The full new text."
              },
              "date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Move the note to this day, YYYY-MM-DD in the journal timezone."
              },
              "noteId": {
                "type": "string",
                "minLength": 1,
                "description": "The note's `id`."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "Update a journal note",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chart_open",
          "title": "Vela chart",
          "description": "Shows an interactive live chart from Vela, our next-generation charting platform, inside the chat: crypto candles streamed from Hyperliquid or Binance in the user's browser, with optional native indicators, horizontal levels, shaded zones and a date range. Use it when the user wants to see or discuss a crypto market visually. Returns a chart_id; change or read the open chart afterwards with chart_command rather than opening a new one. This result describes the chart in words and carries no prices; once the chart is on screen, chart_command (including its read op) also returns the last price, the day's change, the visible high and low and each indicator's latest value. It never returns candles. Symbols: \"BTC\" or \"hyperliquid:BTC\" (Hyperliquid perpetuals), \"binance:BTCUSDT\" (Binance spot); a bare pair ending in USDT/USDC goes to Binance.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "symbol",
              "context"
            ],
            "properties": {
              "range": {
                "enum": [
                  "1D",
                  "1W",
                  "1M",
                  "3M",
                  "6M",
                  "1Y",
                  "YTD",
                  "ALL"
                ],
                "type": "string",
                "description": "Visible date range, ending on the newest candle."
              },
              "zones": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "low",
                    "high"
                  ],
                  "properties": {
                    "low": {
                      "type": "number",
                      "exclusiveMinimum": 0
                    },
                    "high": {
                      "type": "number",
                      "exclusiveMinimum": 0
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 40,
                      "description": "Short label shown in the zone, e.g. \"Demand\"."
                    }
                  }
                },
                "maxItems": 10,
                "description": "Price zones to shade."
              },
              "levels": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "price"
                  ],
                  "properties": {
                    "label": {
                      "type": "string",
                      "maxLength": 40,
                      "description": "Short label shown on the line, e.g. \"Resistance\"."
                    },
                    "price": {
                      "type": "number",
                      "description": "Price of the horizontal level.",
                      "exclusiveMinimum": 0
                    }
                  }
                },
                "maxItems": 20,
                "description": "Horizontal levels to draw."
              },
              "symbol": {
                "type": "string",
                "maxLength": 40,
                "description": "e.g. \"BTC\", \"hyperliquid:ETH\", \"binance:BTCUSDT\"."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "timeframe": {
                "enum": [
                  "1m",
                  "5m",
                  "15m",
                  "30m",
                  "1h",
                  "2h",
                  "4h",
                  "12h",
                  "1d",
                  "1w"
                ],
                "type": "string",
                "default": "4h",
                "description": "Candle timeframe."
              },
              "indicators": {
                "type": "array",
                "items": {
                  "enum": [
                    "rsi",
                    "macd",
                    "moving-average",
                    "bollinger-bands",
                    "average-true-range",
                    "stochastic",
                    "vwap",
                    "vpvr"
                  ],
                  "type": "string"
                },
                "maxItems": 5,
                "description": "Native indicators to add."
              }
            }
          },
          "annotations": {
            "title": "Vela chart",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chart_command",
          "title": "Vela chart change",
          "description": "Edits or reads a chart already open in the chat (from chart_open): switch market or timeframe, add or remove a native indicator, draw a level or a zone, clear drawings, or zoom to a date range; {op: \"read\"} changes nothing and returns what the chart shows now. Ops apply in order. Usually waits a few seconds for the chart to confirm and returns what it shows, in words, with the numbers the user sees on it: the last price, the change since the day's open (00:00 UTC), the high and low of the visible range and each indicator's latest value (e.g. \"RSI 38.2\"). Quote those as of the moment of the reply; it never returns candles. {op: \"read\", image: true} also sends a picture of the chart as the user sees it into your context, where the chat app accepts images from the chart (it arrives with the next message). If the chart is idle it may answer at once that the edits are queued and when the chart applies them; if it is not on screen, edits stay queued and apply when it is shown again, and a read returns its last report without live numbers. Use chart_open instead to show a new chart.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "chart_id",
              "ops",
              "context"
            ],
            "properties": {
              "ops": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "op"
                      ],
                      "properties": {
                        "op": {
                          "type": "string",
                          "const": "set_market"
                        },
                        "symbol": {
                          "type": "string",
                          "maxLength": 40,
                          "description": "New symbol, e.g. \"ETH\", \"hyperliquid:SOL\", \"binance:ETHUSDT\"."
                        },
                        "timeframe": {
                          "enum": [
                            "1m",
                            "5m",
                            "15m",
                            "30m",
                            "1h",
                            "2h",
                            "4h",
                            "12h",
                            "1d",
                            "1w"
                          ],
                          "type": "string"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "op",
                        "name"
                      ],
                      "properties": {
                        "op": {
                          "type": "string",
                          "const": "add_indicator"
                        },
                        "name": {
                          "enum": [
                            "rsi",
                            "macd",
                            "moving-average",
                            "bollinger-bands",
                            "average-true-range",
                            "stochastic",
                            "vwap",
                            "vpvr"
                          ],
                          "type": "string"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "op",
                        "name"
                      ],
                      "properties": {
                        "op": {
                          "type": "string",
                          "const": "remove_indicator"
                        },
                        "name": {
                          "enum": [
                            "rsi",
                            "macd",
                            "moving-average",
                            "bollinger-bands",
                            "average-true-range",
                            "stochastic",
                            "vwap",
                            "vpvr"
                          ],
                          "type": "string"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "op",
                        "price"
                      ],
                      "properties": {
                        "op": {
                          "type": "string",
                          "const": "add_level"
                        },
                        "label": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "price": {
                          "type": "number",
                          "exclusiveMinimum": 0
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "op",
                        "low",
                        "high"
                      ],
                      "properties": {
                        "op": {
                          "type": "string",
                          "const": "add_zone"
                        },
                        "low": {
                          "type": "number",
                          "exclusiveMinimum": 0
                        },
                        "high": {
                          "type": "number",
                          "exclusiveMinimum": 0
                        },
                        "label": {
                          "type": "string",
                          "maxLength": 40
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "op"
                      ],
                      "properties": {
                        "op": {
                          "type": "string",
                          "const": "clear_drawings"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "op",
                        "range"
                      ],
                      "properties": {
                        "op": {
                          "type": "string",
                          "const": "zoom"
                        },
                        "range": {
                          "enum": [
                            "1D",
                            "1W",
                            "1M",
                            "3M",
                            "6M",
                            "1Y",
                            "YTD",
                            "ALL"
                          ],
                          "type": "string"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "op"
                      ],
                      "properties": {
                        "op": {
                          "type": "string",
                          "const": "read"
                        },
                        "image": {
                          "type": "boolean",
                          "description": "Also send a picture of the chart as the user sees it into your context (only where the chat app accepts images from the chart)."
                        }
                      }
                    }
                  ]
                },
                "maxItems": 20,
                "minItems": 1
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "chart_id": {
                "type": "string",
                "maxLength": 200,
                "description": "The chart_id chart_open returned."
              }
            }
          },
          "annotations": {
            "title": "Vela chart change",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chart_sync",
          "title": "Chart view sync",
          "description": "Used by the chart view itself, not by the model: acknowledges applied changes, reports the chart's state in words and fetches pending changes.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "chart_id",
              "acked_seq",
              "context"
            ],
            "properties": {
              "state": {
                "type": "object",
                "properties": {
                  "error": {
                    "type": "string",
                    "maxLength": 200
                  },
                  "range": {
                    "type": "object",
                    "required": [
                      "from",
                      "to"
                    ],
                    "properties": {
                      "to": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "from": {
                        "type": "string",
                        "maxLength": 40
                      }
                    }
                  },
                  "theme": {
                    "type": "string",
                    "maxLength": 10
                  },
                  "zones": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "low",
                        "high"
                      ],
                      "properties": {
                        "low": {
                          "type": "number",
                          "exclusiveMinimum": 0
                        },
                        "high": {
                          "type": "number",
                          "exclusiveMinimum": 0
                        },
                        "label": {
                          "type": "string",
                          "maxLength": 40,
                          "description": "Short label shown in the zone, e.g. \"Demand\"."
                        }
                      }
                    },
                    "maxItems": 50
                  },
                  "levels": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "price"
                      ],
                      "properties": {
                        "label": {
                          "type": "string",
                          "maxLength": 40,
                          "description": "Short label shown on the line, e.g. \"Resistance\"."
                        },
                        "price": {
                          "type": "number",
                          "description": "Price of the horizontal level.",
                          "exclusiveMinimum": 0
                        }
                      }
                    },
                    "maxItems": 50
                  },
                  "symbol": {
                    "type": "string",
                    "maxLength": 60
                  },
                  "timeframe": {
                    "type": "string",
                    "maxLength": 10
                  },
                  "change_pct": {
                    "type": "number",
                    "maximum": 1000000,
                    "minimum": -100
                  },
                  "indicators": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 60
                    },
                    "maxItems": 30
                  },
                  "last_price": {
                    "type": "number",
                    "maximum": 1000000000000000,
                    "exclusiveMinimum": 0
                  },
                  "visible_low": {
                    "type": "number",
                    "maximum": 1000000000000000,
                    "exclusiveMinimum": 0
                  },
                  "display_mode": {
                    "type": "string",
                    "maxLength": 12
                  },
                  "visible_high": {
                    "type": "number",
                    "maximum": 1000000000000000,
                    "exclusiveMinimum": 0
                  },
                  "candles_loaded": {
                    "type": "boolean"
                  },
                  "other_drawings": {
                    "type": "integer",
                    "maximum": 10000,
                    "minimum": 0
                  },
                  "indicator_values": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "values"
                      ],
                      "properties": {
                        "name": {
                          "type": "string",
                          "maxLength": 60
                        },
                        "values": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "additionalProperties": {
                            "type": "number",
                            "maximum": 1000000000000000,
                            "minimum": -1000000000000000
                          }
                        }
                      }
                    },
                    "maxItems": 30
                  }
                },
                "description": "State of the view: words, plus a few numbers (never bars) for an exchange-fed market."
              },
              "paused": {
                "type": "boolean",
                "description": "True on the view's last poll before it stops (hidden or out of view) until it is shown again."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "chart_id": {
                "type": "string",
                "maxLength": 200
              },
              "sync_key": {
                "type": "string",
                "maxLength": 200,
                "description": "The view's key for an app chart session (from chart_open's _meta)."
              },
              "acked_seq": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "next_poll_ms": {
                "type": "integer",
                "maximum": 600000,
                "minimum": 0,
                "description": "When the view plans to poll next, in ms, unless the answer's next_poll_ms is sooner (a view that leaves it out polls about every second)."
              },
              "snapshot_answer": {
                "type": "object",
                "required": [
                  "id",
                  "outcome"
                ],
                "properties": {
                  "id": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 1
                  },
                  "bytes": {
                    "type": "integer",
                    "maximum": 10000000,
                    "minimum": 0
                  },
                  "width": {
                    "type": "integer",
                    "maximum": 10000,
                    "minimum": 0
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 10000,
                    "minimum": 0
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 200
                  },
                  "outcome": {
                    "enum": [
                      "sent",
                      "unsupported",
                      "words_only",
                      "failed"
                    ],
                    "type": "string"
                  }
                },
                "description": "The view's answer to the snapshot request chart_sync last handed it."
              }
            }
          },
          "annotations": {
            "title": "Chart view sync",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "watchlists_list",
          "title": "My watchlists",
          "description": "The signed-in member's watchlists, the same lists Vela shows on the web and in the Vela apps: each list's id and name with every symbol in it, as the market it streams (source:TICKER), its category and section, and a Vela chart link (chart_url). Use it to answer what the member watches, and before watchlists_add_symbols or watchlists_remove_symbols to get a list's id. It carries no prices. An empty answer means the member has no watchlist yet (watchlists_create makes one). Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "My watchlists",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "watchlists_create",
          "title": "Create a watchlist",
          "description": "Creates a new watchlist in the signed-in member's account, optionally with its first symbols; it shows up in Vela on the web and in the Vela apps. Use watchlists_add_symbols to add to a list that exists. How many watchlists and symbols per list the member may have comes from their LuxAlgo plan: at a limit the call answers with the limit and where to upgrade, and nothing is saved. It changes the member's account, so the chat app may ask the user to confirm first. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "name",
              "context"
            ],
            "properties": {
              "etf": {
                "type": "boolean",
                "description": "File the US listings among `symbols` under ETFs instead of Stocks."
              },
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "The list's name, e.g. \"Crypto majors\"."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "symbols": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 60,
                  "minLength": 1
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "Markets, each a market as source:TICKER, e.g. \"binance:BTCUSDT\", \"hyperliquid:BTC\", \"coinbase:BTC-USD\", \"edgx:AAPL\" (US stocks and ETFs; \"NASDAQ:AAPL\" works too), \"fx:EURUSD\", \"commodities:XAUUSD\", \"cme:ES1!\". A bare stablecoin pair (\"BTCUSDT\") is read as Binance and a bare \"ES1!\" as CME."
              }
            }
          },
          "annotations": {
            "title": "Create a watchlist",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "watchlists_add_symbols",
          "title": "Add to a watchlist",
          "description": "Adds markets to one of the signed-in member's watchlists (its id from watchlists_list), at the end of the list or in a named section; a market already in the list is left as it is. Returns the list as saved, in words, with a Vela chart link per added market. How many watchlists and symbols per list the member may have comes from their LuxAlgo plan: at a limit the call answers with the limit and where to upgrade, and nothing is saved. It changes the member's account, so the chat app may ask the user to confirm first. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "watchlist_id",
              "symbols",
              "context"
            ],
            "properties": {
              "etf": {
                "type": "boolean",
                "description": "File the US listings among `symbols` under ETFs instead of Stocks."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "section": {
                "type": "string",
                "maxLength": 80,
                "minLength": 1,
                "description": "A section of the list to put them in (the list's own groupings)."
              },
              "symbols": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 60,
                  "minLength": 1
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "Markets, each a market as source:TICKER, e.g. \"binance:BTCUSDT\", \"hyperliquid:BTC\", \"coinbase:BTC-USD\", \"edgx:AAPL\" (US stocks and ETFs; \"NASDAQ:AAPL\" works too), \"fx:EURUSD\", \"commodities:XAUUSD\", \"cme:ES1!\". A bare stablecoin pair (\"BTCUSDT\") is read as Binance and a bare \"ES1!\" as CME."
              },
              "watchlist_id": {
                "type": "string",
                "maxLength": 128,
                "minLength": 1,
                "description": "The watchlist's id, from watchlists_list."
              }
            }
          },
          "annotations": {
            "title": "Add to a watchlist",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "watchlists_remove_symbols",
          "title": "Remove from a watchlist",
          "description": "Removes markets from one of the signed-in member's watchlists (its id from watchlists_list). Name each one as watchlists_list shows it (source:TICKER) or by its bare symbol (\"AAPL\", \"BTCUSD\"), which removes every row of that symbol. The list itself stays; this server cannot delete a watchlist. Returns what was removed and what was not found. It changes the member's account, so the chat app may ask the user to confirm first. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "watchlist_id",
              "symbols",
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "symbols": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 60,
                  "minLength": 1
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "Markets to remove: \"binance:BTCUSDT\", or a bare symbol such as \"AAPL\"."
              },
              "watchlist_id": {
                "type": "string",
                "maxLength": 128,
                "minLength": 1,
                "description": "The watchlist's id, from watchlists_list."
              }
            }
          },
          "annotations": {
            "title": "Remove from a watchlist",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "layouts_list",
          "title": "My saved Vela layouts",
          "description": "The signed-in member's saved Vela layouts (workspaces), newest first: each one's name, id, when it was last saved, whether it has a share link, and its Vela link (chart_url) that opens that layout. Use it when the member asks for their saved charts or layouts or wants one opened. Read only: it cannot save, rename, share or delete a layout. For a single market on a chart, give that market's chart_url instead. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "My saved Vela layouts",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "alerts_list",
          "title": "My alerts",
          "description": "The signed-in member's LuxAlgo Alerts, Price Alerts and Custom Alerts, as Vela shows them: each alert's id, name, market, what it waits for (a Price Alert's level is the member's own), how often it fires, whether it is on, paused, fired or held back, whether it notifies anyone, and a Vela chart link for its market; plus how many of each kind are on against what the member's plan allows. Use it to answer what alerts the member has and to get an id for alerts_pause, alerts_resume or alerts_history. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "type": {
                "enum": [
                  "price",
                  "custom"
                ],
                "type": "string",
                "description": "Only Price Alerts or only Custom Alerts."
              },
              "status": {
                "enum": [
                  "active",
                  "paused",
                  "triggered",
                  "expired",
                  "suspended_plan",
                  "error"
                ],
                "type": "string",
                "description": "Only alerts in this state."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "My alerts",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "alerts_create_price",
          "title": "Create a Price Alert",
          "description": "Creates a Price Alert in the signed-in member's account: it fires when a market's price crosses, crosses above, crosses below, is above or is below a level the member chose, as often as `frequency` says. It notifies the member in-app (Vela on the web and on their phone) when the account has that channel; the result says plainly which channel it notifies, or that it notifies no one. With `chart_id` from chart_open it also draws the level on that chart. Use alerts_create_custom for an indicator's condition instead. How many alerts the member may have on comes from their LuxAlgo plan: at a limit the call answers with the limit and where to upgrade, and nothing is created. It changes the member's account, so the chat app may ask the user to confirm first. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "symbol",
              "condition",
              "level",
              "context"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 120,
                "minLength": 1,
                "description": "The alert's name; default says the market and the level."
              },
              "level": {
                "anyOf": [
                  {
                    "type": "number",
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1
                  }
                ],
                "description": "The price level, e.g. 100000 or \"0.00012345\"."
              },
              "symbol": {
                "type": "string",
                "maxLength": 60,
                "minLength": 1,
                "description": "The market, a market as source:TICKER, e.g. \"binance:BTCUSDT\", \"hyperliquid:BTC\", \"coinbase:BTC-USD\", \"edgx:AAPL\" (US stocks and ETFs; \"NASDAQ:AAPL\" works too), \"fx:EURUSD\", \"commodities:XAUUSD\", \"cme:ES1!\". A bare stablecoin pair (\"BTCUSDT\") is read as Binance and a bare \"ES1!\" as CME."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "chart_id": {
                "type": "string",
                "maxLength": 200,
                "description": "A chart_id from chart_open: the level is also drawn on that chart."
              },
              "condition": {
                "enum": [
                  "cross",
                  "cross_up",
                  "cross_down",
                  "above",
                  "below"
                ],
                "type": "string",
                "description": "cross: price crosses the level either way; cross_up: crosses above it; cross_down: crosses below it; above / below: price is above / below it."
              },
              "frequency": {
                "enum": [
                  "once",
                  "once_per_bar",
                  "once_per_bar_close",
                  "every_time"
                ],
                "type": "string",
                "default": "once",
                "description": "How often it fires: once (then it stops), once_per_bar (at most once per bar of `timeframe`), once_per_bar_close (when a bar of `timeframe` closes with the condition met), every_time (each time, spaced by min_interval_seconds)."
              },
              "timeframe": {
                "enum": [
                  "1m",
                  "5m",
                  "15m",
                  "30m",
                  "1h",
                  "2h",
                  "4h",
                  "12h",
                  "1d",
                  "1w"
                ],
                "type": "string",
                "default": "1h",
                "description": "The bar for once_per_bar and once_per_bar_close."
              },
              "min_interval_seconds": {
                "type": "integer",
                "maximum": 604800,
                "minimum": 1,
                "description": "every_time only: the least time between two fires, in seconds (default 60)."
              }
            }
          },
          "annotations": {
            "title": "Create a Price Alert",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "alerts_create_custom",
          "title": "Create a Custom Alert",
          "description": "Creates a Custom Alert in the signed-in member's account from an indicator's condition on one market and timeframe: either a Vela built-in indicator (`indicator`: RSI crosses above 70, MACD crosses above its signal line, price crosses below the lower Bollinger Band…) or an open-source LuxAlgo Library indicator (`library`: its slug, from library_search, firing on one of its alert conditions or on its alerts). It first replays the alert over recent history and says how often it would have fired (\"12 times, about 0.4 per day\"); with `preview_only` it stops there and creates nothing, which is the way to try a condition before the member decides. Paid Library indicators cannot run as alerts. It notifies the member in-app when the account has that channel; the result says plainly which channel it notifies, or that it notifies no one. Previews are limited to about 10 a minute. Use alerts_create_price for a plain price level. How many alerts the member may have on comes from their LuxAlgo plan: at a limit the call answers with the limit and where to upgrade, and nothing is created. It changes the member's account, so the chat app may ask the user to confirm first. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "symbol",
              "context"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 120,
                "minLength": 1,
                "description": "The alert's name; default describes the condition."
              },
              "symbol": {
                "type": "string",
                "maxLength": 60,
                "minLength": 1,
                "description": "The market, a market as source:TICKER, e.g. \"binance:BTCUSDT\", \"hyperliquid:BTC\", \"coinbase:BTC-USD\", \"edgx:AAPL\" (US stocks and ETFs; \"NASDAQ:AAPL\" works too), \"fx:EURUSD\", \"commodities:XAUUSD\", \"cme:ES1!\". A bare stablecoin pair (\"BTCUSDT\") is read as Binance and a bare \"ES1!\" as CME."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "library": {
                "type": "object",
                "required": [
                  "slug"
                ],
                "properties": {
                  "slug": {
                    "type": "string",
                    "maxLength": 200,
                    "minLength": 1,
                    "description": "The Library indicator's slug, from library_search or library_get_indicator."
                  },
                  "settings": {
                    "type": "object",
                    "description": "The indicator's inputs, by name; omitted ones take its defaults.",
                    "propertyNames": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "additionalProperties": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "string",
                          "maxLength": 2000
                        },
                        {
                          "type": "boolean"
                        }
                      ]
                    }
                  },
                  "alert_condition": {
                    "type": "string",
                    "maxLength": 256,
                    "description": "The name of one of its alert conditions (as the indicator's alert menu lists it). Omitted: it fires on the indicator's own alerts."
                  }
                }
              },
              "frequency": {
                "enum": [
                  "once",
                  "once_per_bar",
                  "once_per_bar_close",
                  "every_time"
                ],
                "type": "string",
                "default": "once_per_bar_close",
                "description": "How often it fires: once (then it stops), once_per_bar (at most once per bar of `timeframe`), once_per_bar_close (when a bar of `timeframe` closes with the condition met), every_time (each time, spaced by min_interval_seconds)."
              },
              "indicator": {
                "type": "object",
                "required": [
                  "type",
                  "when",
                  "than"
                ],
                "properties": {
                  "line": {
                    "type": "string",
                    "maxLength": 20,
                    "description": "Which line: value (RSI, ATR, moving average, SuperTrend), macd / signal / hist (MACD), basis / upper / lower (Bollinger Bands), k / d (Stochastic). Default: the main line."
                  },
                  "than": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 20
                      }
                    ],
                    "description": "What the line is compared with: a number (70), \"price\" (the closing price), or another line of the same indicator (\"signal\")."
                  },
                  "type": {
                    "enum": [
                      "moving-average",
                      "rsi",
                      "macd",
                      "bollinger-bands",
                      "average-true-range",
                      "stochastic",
                      "supertrend"
                    ],
                    "type": "string",
                    "description": "The Vela built-in indicator."
                  },
                  "when": {
                    "enum": [
                      "crosses_above",
                      "crosses_below",
                      "crosses",
                      "above",
                      "below"
                    ],
                    "type": "string"
                  },
                  "settings": {
                    "type": "object",
                    "description": "Its settings, Vela's names, e.g. {\"length\": 14} for RSI, {\"fastLength\": 12, \"slowLength\": 26, \"signalLength\": 9} for MACD, {\"length\": 20, \"mult\": 2} for Bollinger Bands, {\"maType\": \"EMA\", \"length\": 50} for a moving average. Omitted settings take Vela's defaults.",
                    "propertyNames": {
                      "type": "string",
                      "maxLength": 60
                    },
                    "additionalProperties": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "string",
                          "maxLength": 100
                        },
                        {
                          "type": "boolean"
                        }
                      ]
                    }
                  }
                }
              },
              "timeframe": {
                "enum": [
                  "1m",
                  "5m",
                  "15m",
                  "30m",
                  "1h",
                  "2h",
                  "4h",
                  "12h",
                  "1d",
                  "1w"
                ],
                "type": "string",
                "default": "1h",
                "description": "The bars the indicator runs on."
              },
              "preview_only": {
                "type": "boolean",
                "description": "Only replay it over history and say how often it would have fired; create nothing."
              },
              "min_interval_seconds": {
                "type": "integer",
                "maximum": 604800,
                "minimum": 1,
                "description": "every_time only: the least time between two fires, in seconds (default 60)."
              }
            }
          },
          "annotations": {
            "title": "Create a Custom Alert",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "alerts_pause",
          "title": "Pause an alert",
          "description": "Pauses one of the signed-in member's alerts (Price Alert or Custom Alert, its id from alerts_list): it stays saved and stops firing until alerts_resume. Returns the alert in words. It changes the member's account, so the chat app may ask the user to confirm first. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "alert_id",
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "alert_id": {
                "type": "string",
                "maxLength": 128,
                "minLength": 1,
                "description": "The alert's id, from alerts_list or the result that created it."
              }
            }
          },
          "annotations": {
            "title": "Pause an alert",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "alerts_resume",
          "title": "Turn an alert back on",
          "description": "Turns one of the signed-in member's alerts back on (paused, fired, expired or held back by the plan; its id from alerts_list). Returns the alert in words. How many alerts the member may have on comes from their LuxAlgo plan: at a limit the call answers with the limit and where to upgrade, and nothing is created. It changes the member's account, so the chat app may ask the user to confirm first. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "alert_id",
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "alert_id": {
                "type": "string",
                "maxLength": 128,
                "minLength": 1,
                "description": "The alert's id, from alerts_list or the result that created it."
              }
            }
          },
          "annotations": {
            "title": "Turn an alert back on",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "alerts_history",
          "title": "Alert history",
          "description": "When the signed-in member's alerts fired, newest first (kept 90 days): the alert, the market, the time, and whether each notification was delivered; the price it fired at only for crypto markets fed by an exchange's public feed (Hyperliquid, Binance). Optionally for one alert (`alert_id`). Paged with `cursor`. Use alerts_list for the alerts themselves. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 100,
                "minimum": 1
              },
              "cursor": {
                "type": "string",
                "maxLength": 512,
                "description": "`next_cursor` from the previous page; keep the other arguments identical."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "alert_id": {
                "type": "string",
                "maxLength": 128,
                "minLength": 1,
                "description": "The alert's id, from alerts_list or the result that created it."
              }
            }
          },
          "annotations": {
            "title": "Alert history",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chart_peek",
          "title": "See my open Vela chart",
          "description": "A picture of the chart the signed-in member has open right now in Vela, our next-generation charting platform, in their browser, as they see it, with the market, timeframe and indicators in words and a Vela link (chart_url). Use it when the member asks about the chart they have open in Vela (\"look at my chart\", \"what do you see here?\"). To show a market inside the chat instead, use chart_open. Works for crypto charts fed by an exchange only (Binance, Binance.US, Coinbase, Hyperliquid); for any other market it says so and sends no picture. The member's Vela tab must be open and visible; a first ask after a quiet spell can say no chart is open, and asking again a minute later works. The result carries no prices beyond what the picture shows. chart_index picks one chart of a multi-chart layout (0 is the first); without it, the chart the member is working on. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "chart_index": {
                "type": "integer",
                "maximum": 15,
                "minimum": 0,
                "description": "One chart of a multi-chart layout, in layout order (0 is the first). Leave it out for the chart the member is working on."
              }
            }
          },
          "annotations": {
            "title": "See my open Vela chart",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "quant_generate_pine_script",
          "title": "Write Pine Script® with Quant",
          "description": "Has Quant, our coding agent, write a Pine Script® v6 indicator or strategy from a prompt, or change one in place: the script passed as `code`, or one of the member's saved scripts by its `script_id` (the result then has a unified diff). Quant works in the background with the Pine Script® reference, checks every attempt with LuxAlgo's linter and fixes what fails, until the script passes or its time runs out. Returns the script, whether it passes the linter and what is still flagged. A script that passes is saved to the member's LuxAlgo account as one of their Quant scripts, where they find it in Vela: a new script, or with `script_id` a new version of that script; the result says which, with its script_id. One that does not pass yet is saved nowhere: call again with it as `code` (and the same `script_id`, if any) and what is left to fix as the prompt. With `add_to_chart` (off by default), a script that passes is also put on the chart the member has open right now in Vela, the one they used last, where they see it appear and run; a changed script that was on that chart already runs its new version in place. Set it only when the member asked to see it on their chart. To change an indicator that is on their chart, read the chart with vela_read_chart: one that is a saved script of theirs comes with its script_id. It uses the member's Quant usage on their LuxAlgo plan, metered by the LuxAlgo app. To only check a script the member already has, use quant_validate_pine_script, which uses no usage. It writes code; it never runs or backtests it, and it is not trading advice. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "prompt",
              "context"
            ],
            "properties": {
              "code": {
                "type": "string",
                "maxLength": 200000,
                "minLength": 1,
                "description": "A Pine Script® to change. Quant edits it in place instead of writing a new one."
              },
              "prompt": {
                "type": "string",
                "maxLength": 20000,
                "minLength": 1,
                "description": "What to build or change, in plain words: the logic, inputs, plots and alerts the member wants."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "script_id": {
                "type": "string",
                "maxLength": 128,
                "minLength": 1,
                "description": "One of the member's saved scripts to change, by its id from quant_search_user_scripts. Its saved source is what Quant changes unless `code` is passed too, and a result that passes is saved as its new version."
              },
              "add_to_chart": {
                "type": "boolean",
                "description": "Also put the script on the chart the member has open right now in Vela, the one they used last, once it passes and is saved. False by default: set it only when the member asked to see it on their chart."
              }
            }
          },
          "annotations": {
            "title": "Write Pine Script® with Quant",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "quant_validate_pine_script",
          "title": "Check Pine Script® with LuxAlgo's linter",
          "description": "Checks a Pine Script® source with LuxAlgo's linter, the one Quant checks its own scripts with: whether it is valid (no errors), every error and warning with its code, message and position (1-based line and column), and what the script declares (indicator, strategy or library, its title, Pine version and overlay). It reads the source only: nothing runs, nothing is saved, and it uses no Quant usage. Use it before telling the member a script works, and after editing one by hand. To have the errors fixed, pass the script to quant_generate_pine_script. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "code",
              "context"
            ],
            "properties": {
              "code": {
                "type": "string",
                "maxLength": 200000,
                "minLength": 1,
                "description": "The complete Pine Script® source to check."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "Check Pine Script® with LuxAlgo's linter",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "quant_search_user_scripts",
          "title": "Search my scripts",
          "description": "Searches the signed-in member's own Pine Script® scripts on LuxAlgo: the ones Quant wrote for them in a chat (`origin: quant`) and the ones they saved from the code editor (`origin: user`). Each result has its id, name, kind (indicator, strategy or library), origin, a one-line description when there is one, and when it was created and last saved; newest first. `query` matches names and descriptions; leave it out for the latest scripts. Results carry no source: fetch one script's code with get_user_script and its id. For LuxAlgo's published indicators use library_search, not this. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "type": {
                "enum": [
                  "indicator",
                  "strategy",
                  "library"
                ],
                "type": "string",
                "description": "Only scripts of this kind."
              },
              "limit": {
                "type": "integer",
                "maximum": 50,
                "minimum": 1,
                "description": "Max results (default 20)."
              },
              "query": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Words to look for in script names and descriptions."
              },
              "origin": {
                "enum": [
                  "quant",
                  "user"
                ],
                "type": "string",
                "description": "Only scripts Quant wrote, or only the member's own."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "Search my scripts",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "get_user_script",
          "title": "Get one of my scripts",
          "description": "The full Pine Script® source of one of the signed-in member's own scripts, by its id from quant_search_user_scripts, with its name, kind and origin. Kept apart from the search because sources are long: call it only when the code itself is needed, for example to change it with quant_generate_pine_script or check it with quant_validate_pine_script. It reads only the member's own scripts; for a LuxAlgo Library indicator's source use library_get_source_code. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "script_id",
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "script_id": {
                "type": "string",
                "maxLength": 128,
                "minLength": 1,
                "description": "The script's id, from quant_search_user_scripts."
              }
            }
          },
          "annotations": {
            "title": "Get one of my scripts",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "quant_plan_backtest_loop",
          "title": "Plan a backtest loop",
          "description": "Turns a prompt into the plan of a backtest loop and returns it with a plan_id; it starts nothing. A backtest loop is an autonomous run in which Quant, our coding agent, writes and backtests Pine Script® strategy versions until enough of them meet the plan's criteria. Quant writes the plan: the markets and timeframes, the tested date range and how much of it is held out, costs, order size, how many strategies to find, a time limit, and the measurable criteria a strategy must meet on every market, with its own estimate of the odds. Say in the prompt what the member said about markets, timeframe, direction, the metrics and thresholds that count as success, the history to test on and the time to spend; ask them first about anything that matters and is open, because the plan cannot ask back. The planning call uses a little of the member's Quant usage. Show the member the plan in plain words and wait for their yes before calling quant_start_backtest_loop with the plan_id. Backtests are history under stated assumptions, never a prediction or trading advice. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "prompt",
              "context"
            ],
            "properties": {
              "prompt": {
                "type": "string",
                "maxLength": 20000,
                "minLength": 1,
                "description": "What to search for, in the member's terms, e.g. \"a long-only trend strategy on BTCUSDT 1 hour bars over the last 2 years, profit factor at least 1.5, max drawdown under 15%, at least 60 trades, 30 minutes\"."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "Plan a backtest loop",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "quant_start_backtest_loop",
          "title": "Start a backtest loop",
          "description": "Starts the backtest loop of a plan the member approved, by the plan_id quant_plan_backtest_loop returned, and returns its loop id. A backtest loop is an autonomous run in which Quant, our coding agent, writes and backtests Pine Script® strategy versions until enough of them meet the plan's criteria. Call it only after you showed the member that plan and they said yes in their own words; never start one on their behalf. Once started it runs on LuxAlgo's servers, for up to the plan's time limit, whether or not this chat stays open, and every attempt it makes uses the member's Quant usage until it ends or quant_stop_backtest_loop stops it. A plan starts at most one loop: starting it again returns the loop it already started. It returns the loop id, not strategies: follow it with quant_get_backtest_loop_info. To read what a loop found, call quant_get_backtest_loop_info for its strategies' ids (best first) and quant_get_backtest_loop_strategy for one strategy's code and backtests. Backtest loops run on the Ultimate and Ultra plans; the LuxAlgo app decides. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "plan_id",
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "plan_id": {
                "type": "string",
                "maxLength": 128,
                "minLength": 1,
                "description": "The plan_id quant_plan_backtest_loop returned."
              }
            }
          },
          "annotations": {
            "title": "Start a backtest loop",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "quant_stop_backtest_loop",
          "title": "Stop a backtest loop",
          "description": "Stops one of the member's backtest loops by its id: it finishes the attempt it is on, stops spending Quant usage, and keeps every strategy it found and tested. A stopped loop is not lost: the member can resume it from its Loop Report in Vela, where it picks up after its last attempt. A loop that already ended is left as it is, and the result says so. It never deletes a loop or its strategies. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "loop_id",
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "loop_id": {
                "type": "string",
                "maxLength": 128,
                "minLength": 1,
                "description": "The loop's id, from quant_start_backtest_loop or quant_list_backtest_loops."
              }
            }
          },
          "annotations": {
            "title": "Stop a backtest loop",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "quant_list_backtest_loops",
          "title": "List my backtest loops",
          "description": "The signed-in member's backtest loops, newest first: each one's id, status, whether it is active (`active` is true while it is running or waiting for more Quant usage), its markets, how many strategies it found against how many the plan asked for, its attempts, the time it has used against its limit, when it started and ended, and its report_url. `active: true` lists only the ones still going; `active: false` only the ones that ended. The first one listed is the member's most recent loop. To read what a loop found, call quant_get_backtest_loop_info for its strategies' ids (best first) and quant_get_backtest_loop_strategy for one strategy's code and backtests. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 20,
                "minimum": 1,
                "description": "Max loops (default 20, the most one call returns)."
              },
              "active": {
                "type": "boolean",
                "description": "true: only loops still going; false: only loops that ended. Default: both."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "List my backtest loops",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "quant_get_backtest_loop_info",
          "title": "Get a backtest loop's status and strategies",
          "description": "Where one of the member's backtest loops stands, by its id: its status and whether it is still active, why it stopped when it did, Quant's closing summary once it ended, its markets, how many strategies it found against how many the plan asked for, its attempts and the time it has used against its limit, its report_url, and what it found so far: `strategies`, its best ones (10 at most) with each one's id, attempt number, whether it meets every criterion, its in-sample score (0 to 100) and a line on what it does, and `best_strategy_id`, the first of them. Best means the ones that meet every criterion on every market, held-out data included, then the highest score; while nothing passes, it is the closest attempt, so say so. Read one with quant_get_backtest_loop_strategy. The member puts a strategy on a chart, compares them and resumes a loop in Vela, in the loop's Loop Report (report_url). While a loop is running, ask again no more than about once a minute. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "loop_id",
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "loop_id": {
                "type": "string",
                "maxLength": 128,
                "minLength": 1,
                "description": "The loop's id, from quant_start_backtest_loop or quant_list_backtest_loops."
              }
            }
          },
          "annotations": {
            "title": "Get a backtest loop's status and strategies",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "quant_get_backtest_loop_strategy",
          "title": "Get a strategy a backtest loop found",
          "description": "One strategy of one of the member's backtest loops, by its id from quant_get_backtest_loop_info (`best_strategy_id`, or an id in `strategies`): whether it meets every criterion, what it does and how it trades in Quant's words, its Pine Script® source as it goes on a chart, and each market's backtest on the data it was developed on (`in_sample`) and on the data held out from it (`out_of_sample`): the verdict, every criterion against its threshold, the metrics (net profit, profit factor, trades, win rate, drawdown and the rest, by their plan names) and the run's statistics (dates, bars, Sharpe, Sortino, CAGR, run-up, buy and hold). For \"what was the best strategy of my latest loop?\", call quant_list_backtest_loops (newest first), then quant_get_backtest_loop_info, then this with its best_strategy_id. Quote the numbers as returned, name whether each is in sample or held out, and never round a failing strategy up to a passing one. It returns no trade list and no equity curve. The member puts a strategy on a chart, compares them and resumes a loop in Vela, in the loop's Loop Report (report_url). It reads only; it uses no Quant usage. Backtests are history under the plan's assumptions, never a prediction or trading advice. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "strategy_id",
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "strategy_id": {
                "type": "string",
                "maxLength": 160,
                "minLength": 3,
                "description": "The strategy's id, from quant_get_backtest_loop_info: best_strategy_id, or an id in strategies."
              }
            }
          },
          "annotations": {
            "title": "Get a strategy a backtest loop found",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "vela_read_chart",
          "title": "Read my open Vela chart",
          "description": "What the signed-in member has open right now in Vela, our next-generation charting platform, in their browser, in words: the layout, and for each chart its market, timeframe, chart type, indicators, the dates on screen and its clock. Each indicator comes with the id vela_remove_indicators takes, and one that is a saved script of the member's also with its script_id, which quant_generate_pine_script changes it by. Use it before changing or drawing on the member's chart, and when they ask what their chart is set to. It changes nothing and carries no prices or candles; for a picture of the chart use chart_peek, and to show a chart inside the chat use chart_open. The member's Vela tab must be open and visible; a first ask after a quiet spell can say no chart is open, and asking again a minute later works. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "Read my open Vela chart",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "vela_set_chart",
          "title": "Change my open Vela chart",
          "description": "Changes the chart the signed-in member has open right now in Vela, in their browser: the market (symbol), the timeframe, the chart type, the trading session, the price scale, the dates on screen, and the multi-chart layout. Send only what should change; everything else on the chart stays, and it never adds or removes an indicator or a drawing (vela_add_indicator and vela_remove_indicators do the first). Use it when the member asks to switch their own chart (\"put ETH on my chart\", \"go to the 15 minute\", \"split it in four\"), and before vela_mark_up_chart when the analysis they ask for is of another market or timeframe. The member sees the change happen and is told an assistant made it. Returns what the chart shows afterwards, in words, with no prices: check the market it names is the one asked for. A custom timeframe or a CME futures market the member's plan does not include changes nothing and says which plan limit it is. To show or change a chart inside the chat instead, use chart_open and chart_command. With the member's Vela tab on screen it happens in front of them within seconds. When it is not (they are in another tab), the change is queued and applied the moment they look at Vela again, within 10 minutes: the result then says queued, so tell them to open Vela. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "charts": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "slot": {
                      "type": "integer",
                      "maximum": 15,
                      "minimum": 0,
                      "description": "One chart of a multi-chart layout, by position (0 is the top-left, in reading order). Leave it out for the chart the member is working on."
                    },
                    "scale": {
                      "type": "object",
                      "properties": {
                        "log": {
                          "type": "boolean",
                          "description": "Logarithmic price scale."
                        },
                        "mode": {
                          "enum": [
                            "price",
                            "percent",
                            "indexed"
                          ],
                          "type": "string",
                          "description": "\"price\" is the plain price scale, \"percent\" the change in percent, \"indexed\" indexed to 100."
                        },
                        "invert": {
                          "type": "boolean",
                          "description": "Inverted price scale."
                        }
                      },
                      "description": "Price scale settings; send only the ones that change."
                    },
                    "symbol": {
                      "type": "string",
                      "maxLength": 200,
                      "minLength": 1,
                      "description": "The market. Prefer the bare ticker, which Vela resolves across every venue it serves: \"AAPL\", \"SPY\", \"EURUSD\", \"XAUUSD\" (gold), \"BTCUSDT\". To pin a venue use PREFIX:TICKER with one of Vela's sources only: BINANCE (\"BTCUSDT\", perpetuals \"BTCUSDT.P\"), BINANCE.US, COINBASE (dash form, \"BTC-USD\"), HYPERLIQUID (the base asset only, \"BTC\"), BYBIT, NASDAQ / NYSE / AMEX / BATS (US stocks and ETFs, \"NASDAQ:AAPL\"), FX (\"EURUSD\"), COMMODITIES (\"XAUUSD\"), CME (futures, always with the prefix: \"CME:ES1!\"). The ticker must be in that venue's own form, and venue prefixes from other charting platforms (OANDA, TVC, FX_IDC) are not read: the result says what the chart shows afterwards, so check it took."
                    },
                    "session": {
                      "enum": [
                        "regular",
                        "extended"
                      ],
                      "type": "string",
                      "description": "Trading session, where the market has one (US stocks and futures); ignored elsewhere."
                    },
                    "timeframe": {
                      "type": "string",
                      "maxLength": 12,
                      "minLength": 1,
                      "description": "Any amount from 1 minute up: minutes (\"1\", \"15\", \"22m\"), hours (\"1h\", \"4h\"), days (\"D\", \"3D\"), weeks (\"W\", \"2W\") or months (\"M\"). Lowercase m is minutes, uppercase M is months; a bare number is minutes. There are no seconds or tick timeframes."
                    },
                    "chart_type": {
                      "enum": [
                        "candles",
                        "bars",
                        "line",
                        "area",
                        "baseline",
                        "heikinashi",
                        "footprint",
                        "tpo"
                      ],
                      "type": "string",
                      "description": "How the price is drawn. \"footprint\" and \"tpo\" are the orderflow charts, built from real trades: crypto, US stocks and ETFs and CME futures, not forex or commodities."
                    },
                    "visible_range": {
                      "type": "object",
                      "properties": {
                        "to": {
                          "type": "string",
                          "maxLength": 40,
                          "description": "End of an exact window, ISO 8601."
                        },
                        "from": {
                          "type": "string",
                          "maxLength": 40,
                          "description": "Start of an exact window, ISO 8601 date or date and time."
                        },
                        "preset": {
                          "enum": [
                            "1D",
                            "1W",
                            "1M",
                            "3M",
                            "6M",
                            "1Y",
                            "5Y",
                            "YTD",
                            "ALL"
                          ],
                          "type": "string",
                          "description": "A range ending now."
                        }
                      },
                      "description": "The dates on screen: a preset, or from and to together."
                    }
                  }
                },
                "maxItems": 16,
                "description": "Changes per chart, each for one chart of the layout (by slot) or for the chart the member is working on."
              },
              "layout": {
                "type": "string",
                "maxLength": 40,
                "description": "Multi-chart layout: \"1\" one chart, \"2h\" two side by side, \"2v\" two stacked, \"4\" (2 by 2), \"8\" (2 by 4), \"g<rows>x<cols>\" up to 4 each (e.g. \"g3x3\"), or one big chart with smaller ones: \"big-left-2\", \"big-left-3\", \"big-right-2\", \"big-top-2\", \"big-top-3\", \"big-bottom-2\". A smaller layout closes the charts that no longer fit."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "Change my open Vela chart",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "vela_mark_up_chart",
          "title": "Mark up my open Vela chart",
          "description": "Marks up the chart the signed-in member has open right now in Vela the way a professional discretionary trader would, from the chart's own candles: fair value gaps, buyside and sellside liquidity and equal highs and lows, market structure (BOS and MSS), order blocks and breakers, the dealing range with premium, discount and OTE, opening gaps, ICT killzones and macros, key levels (previous day and week high and low, midnight open, session highs and lows), support and resistance, trendlines, chart patterns, and a range with extensions. You name the concepts and Vela finds the exact prices and times itself, so never pass prices you made up; the member watches each one being drawn, as real, labelled drawings in Vela's house style. Use it whenever the member asks to mark up, annotate or analyse their chart, or to be shown where something is on it; it works on every market Vela charts (stocks, futures, forex, crypto), and a new markup of a concept replaces your earlier one. Give each concept an explain and the member is walked through the markup on their chart, your words in a bubble on each part: the way to teach a setup. Returns what was found, each with its time and state; with exact prices for a crypto chart fed by an exchange (Binance, Binance.US, Coinbase, Hyperliquid), and without prices for any other market, where the drawings still sit at their exact levels for the member to read. For drawings at prices you choose yourself (a scenario, a target, a plan) use vela_draw_on_chart. With the member's Vela tab on screen it happens in front of them within seconds. When it is not (they are in another tab), the change is queued and applied the moment they look at Vela again, within 10 minutes: the result then says queued, so tell them to open Vela. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "concepts",
              "context"
            ],
            "properties": {
              "slot": {
                "type": "integer",
                "maximum": 15,
                "minimum": 0,
                "description": "One chart of a multi-chart layout, by position (0 is the top-left, in reading order). Leave it out for the chart the member is working on."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "replace": {
                "type": "boolean",
                "description": "Remove the earlier markup of the same concepts first (default true), so a redraw never stacks."
              },
              "concepts": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "concept"
                  ],
                  "properties": {
                    "leg": {
                      "enum": [
                        "up",
                        "down"
                      ],
                      "type": "string",
                      "description": "dealing_range: the leg's direction, needed only when a named high or low did not trade on the loaded bars."
                    },
                    "low": {
                      "type": "number",
                      "description": "dealing_range, range: a range low the member named."
                    },
                    "ote": {
                      "type": "boolean",
                      "description": "dealing_range: add the OTE band 0.62 / 0.705 / 0.79."
                    },
                    "days": {
                      "type": "integer",
                      "maximum": 5,
                      "minimum": 0,
                      "description": "killzones, macros: days back to draw (0 is today only)."
                    },
                    "high": {
                      "type": "number",
                      "description": "dealing_range, range: a range high the member named."
                    },
                    "only": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "maxLength": 30
                      },
                      "maxItems": 8,
                      "description": "killzones, macros: only these windows by name, e.g. [\"NY AM\"]."
                    },
                    "count": {
                      "type": "integer",
                      "maximum": 12,
                      "minimum": 1,
                      "description": "How many to draw, nearest to price first."
                    },
                    "levels": {
                      "type": "array",
                      "items": {
                        "enum": [
                          "previous-day",
                          "previous-week",
                          "midnight-open",
                          "sessions"
                        ],
                        "type": "string"
                      },
                      "maxItems": 4,
                      "description": "key_levels: which levels (default previous-day and midnight-open)."
                    },
                    "concept": {
                      "enum": [
                        "fair_value_gaps",
                        "liquidity",
                        "market_structure",
                        "order_blocks",
                        "dealing_range",
                        "opening_gaps",
                        "killzones",
                        "macros",
                        "key_levels",
                        "support_resistance",
                        "trendlines",
                        "pattern",
                        "range"
                      ],
                      "type": "string",
                      "description": "What to find and draw: fair_value_gaps; liquidity (buyside and sellside, equal highs and lows, sweeps); market_structure (BOS and MSS); order_blocks (and breakers); dealing_range (the range split at equilibrium into premium and discount); opening_gaps (NWOG, NDOG); killzones and macros (ICT session windows, New York time); key_levels (previous day and week high and low, midnight open, session highs and lows); support_resistance; trendlines; pattern (channel, wedge, triangle); range (a range high and low with extensions)."
                    },
                    "explain": {
                      "type": "string",
                      "maxLength": 280,
                      "description": "One or two plain sentences on what this part is and why it matters here. With it, the member is walked through the parts on their chart, a bubble on each in turn with Next and Exit: use it whenever you are teaching or presenting an analysis."
                    },
                    "windows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "name",
                          "start",
                          "end"
                        ],
                        "properties": {
                          "end": {
                            "type": "string",
                            "maxLength": 5
                          },
                          "name": {
                            "type": "string",
                            "maxLength": 30
                          },
                          "start": {
                            "type": "string",
                            "maxLength": 5
                          }
                        }
                      },
                      "maxItems": 8,
                      "description": "killzones, macros: your own New York windows, e.g. [{\"name\":\"Macro\",\"start\":\"09:50\",\"end\":\"10:10\"}]."
                    },
                    "breakers": {
                      "type": "boolean",
                      "description": "order_blocks: include breaker blocks (default true)."
                    },
                    "gap_kind": {
                      "enum": [
                        "week",
                        "day",
                        "both"
                      ],
                      "type": "string",
                      "description": "opening_gaps: NWOG (week, the default), NDOG (day) or both."
                    },
                    "quarters": {
                      "type": "boolean",
                      "description": "dealing_range: add the 0.25 / 0.75 quarters."
                    },
                    "strength": {
                      "type": "integer",
                      "maximum": 50,
                      "minimum": 2,
                      "description": "Swing strength in bars per side (the default suits the timeframe)."
                    },
                    "direction": {
                      "enum": [
                        "bullish",
                        "bearish",
                        "both"
                      ],
                      "type": "string",
                      "description": "fair_value_gaps: which side."
                    },
                    "extensions": {
                      "type": "array",
                      "items": {
                        "type": "number"
                      },
                      "maxItems": 4,
                      "description": "range: extension ratios (default 1.618)."
                    },
                    "inversions": {
                      "type": "boolean",
                      "description": "fair_value_gaps: mark gaps closed through as inversion FVGs."
                    },
                    "mitigation": {
                      "enum": [
                        "full",
                        "ce"
                      ],
                      "type": "string",
                      "description": "fair_value_gaps: filled once price trades through the far edge (full, the default) or reaches the 50% CE."
                    },
                    "include_swept": {
                      "type": "boolean",
                      "description": "liquidity: show recently swept levels (default true)."
                    },
                    "include_mitigated": {
                      "type": "boolean",
                      "description": "fair_value_gaps: also show the last filled gaps."
                    }
                  }
                },
                "maxItems": 6,
                "minItems": 1,
                "description": "What to mark up, up to six concepts in one go."
              }
            }
          },
          "annotations": {
            "title": "Mark up my open Vela chart",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "vela_draw_on_chart",
          "title": "Draw on my open Vela chart",
          "description": "Draws on the chart the signed-in member has open right now in Vela, at times and prices you give: horizontal levels, shaded zones, trendlines, projection paths with an arrowhead, channels, Fibonacci retracements, text notes, vertical time lines and long or short positions with a stop and a target. Use it to put a plan, a scenario or a target on the member's own chart; for levels and concepts the candles define (fair value gaps, liquidity, key levels and the like) use vela_mark_up_chart, which finds the exact prices itself. The drawings appear as real, labelled drawings in Vela's house style, the member watches them being drawn, and their own drawings are never touched. Give a drawing an explain and the member is walked through the drawings on their chart, your words in a bubble on each. Times are on the chart's clock (\"YYYY-MM-DD HH:MM\", the clock vela_read_chart names), or ISO 8601 with an offset. It reads no prices: draw at prices the member gave or that a markup returned, never at guessed ones. Returns the group its drawings belong to, which vela_remove_drawings takes. With the member's Vela tab on screen it happens in front of them within seconds. When it is not (they are in another tab), the change is queued and applied the moment they look at Vela again, within 10 minutes: the result then says queued, so tell them to open Vela. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "drawings",
              "context"
            ],
            "properties": {
              "slot": {
                "type": "integer",
                "maximum": 15,
                "minimum": 0,
                "description": "One chart of a multi-chart layout, by position (0 is the top-left, in reading order). Leave it out for the chart the member is working on."
              },
              "title": {
                "type": "string",
                "maxLength": 60,
                "description": "What this set of drawings is, e.g. \"Bullish scenario to 2,920\"."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "drawings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "type"
                  ],
                  "properties": {
                    "dash": {
                      "enum": [
                        "solid",
                        "dashed",
                        "dotted"
                      ],
                      "type": "string"
                    },
                    "stop": {
                      "type": "number",
                      "description": "position: the stop price."
                    },
                    "text": {
                      "type": "string",
                      "maxLength": 400,
                      "description": "note: the text of the card; \\n between lines."
                    },
                    "time": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 40,
                          "minLength": 4
                        },
                        {
                          "type": "number"
                        }
                      ],
                      "description": "vline: the time."
                    },
                    "tone": {
                      "enum": [
                        "bullish",
                        "bearish",
                        "liquidity",
                        "neutral",
                        "projection",
                        "time",
                        "gap",
                        "demand",
                        "supply",
                        "range",
                        "extension",
                        "premium",
                        "discount"
                      ],
                      "type": "string",
                      "description": "The colour role; Vela's house style picks the colour."
                    },
                    "type": {
                      "enum": [
                        "level",
                        "zone",
                        "trendline",
                        "path",
                        "channel",
                        "fib",
                        "note",
                        "vline",
                        "position"
                      ],
                      "type": "string"
                    },
                    "arrow": {
                      "type": "boolean",
                      "description": "path, trendline: end in an arrowhead (a path does by default)."
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 60,
                      "description": "A short label shown on the drawing."
                    },
                    "extend": {
                      "type": "boolean",
                      "description": "level, zone, trendline: run to the chart's right edge (a level does by default)."
                    },
                    "points": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "time",
                          "price"
                        ],
                        "properties": {
                          "time": {
                            "anyOf": [
                              {
                                "type": "string",
                                "maxLength": 40,
                                "minLength": 4
                              },
                              {
                                "type": "number"
                              }
                            ]
                          },
                          "price": {
                            "type": "number"
                          }
                        }
                      },
                      "maxItems": 12,
                      "description": "Anchor points, each a time and a price. level: 1 (where it starts); zone, fib, trendline: 2 corners; path: 2 to 12 vertices in order; channel: 4 (upper start, upper end, lower start, lower end); note: 1; position: 1 (the entry)."
                    },
                    "target": {
                      "type": "number",
                      "description": "position: the target price."
                    },
                    "explain": {
                      "type": "string",
                      "maxLength": 280,
                      "description": "One or two plain sentences on what this part is and why it matters here. With it, the member is walked through the parts on their chart, a bubble on each in turn with Next and Exit: use it whenever you are teaching or presenting an analysis."
                    },
                    "end_time": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 40,
                          "minLength": 4
                        },
                        {
                          "type": "number"
                        }
                      ],
                      "description": "level: where it stops; position: where the box ends."
                    }
                  }
                },
                "maxItems": 30,
                "minItems": 1
              }
            }
          },
          "annotations": {
            "title": "Draw on my open Vela chart",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "vela_remove_drawings",
          "title": "Remove drawings from my open Vela chart",
          "description": "Removes drawings an assistant or Quant, our coding agent, made on the chart the signed-in member has open right now in Vela: the groups named (a group vela_mark_up_chart or vela_draw_on_chart returned), or all of them. It never touches the member's own drawings. Use it to clear an analysis before drawing a new one, or when the member asks to clean up what was drawn for them. With the member's Vela tab on screen it happens in front of them within seconds. When it is not (they are in another tab), the change is queued and applied the moment they look at Vela again, within 10 minutes: the result then says queued, so tell them to open Vela. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "all": {
                "type": "boolean",
                "description": "Remove every drawing an assistant or Quant made on the chart."
              },
              "slot": {
                "type": "integer",
                "maximum": 15,
                "minimum": 0,
                "description": "One chart of a multi-chart layout, by position (0 is the top-left, in reading order). Leave it out for the chart the member is working on."
              },
              "groups": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 40
                },
                "maxItems": 20,
                "description": "Groups to remove, as vela_mark_up_chart or vela_draw_on_chart returned them."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "all_charts": {
                "type": "boolean",
                "description": "Do it on every chart of the layout, not only one."
              }
            }
          },
          "annotations": {
            "title": "Remove drawings from my open Vela chart",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "vela_add_indicator",
          "title": "Add an indicator to my open Vela chart",
          "description": "Adds an indicator that already exists to the chart the signed-in member has open right now in Vela: one from the LuxAlgo Library, the largest indicator library in trading, by its slug (library_search and library_get_indicator return it), or one of the member's own saved scripts, by its id (quant_search_user_scripts returns it). Give exactly one of the two. Use it when the member asks to put an indicator on their own chart (\"add Smart Money Concepts to my chart\", \"put my saved RSI script on it\"): find the slug or the id first, never guess one. It does not take Pine Script® and does not write an indicator: for a new one, the member asks Quant, our coding agent, in Vela. The member sees it appear and is told an assistant added it. Returns the id it has on the chart, which vela_remove_indicators takes, and what the chart shows afterwards; it never returns source code. Nothing is added, and the result says why, when the Library indicator is a paid one the member's plan does not include, when the chart is at their plan's tools per chart, when it is already on the chart, or when the script does not run. With the member's Vela tab on screen it happens in front of them within seconds. When it is not (they are in another tab), the change is queued and applied the moment they look at Vela again, within 10 minutes: the result then says queued, so tell them to open Vela. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "context"
            ],
            "properties": {
              "slot": {
                "type": "integer",
                "maximum": 15,
                "minimum": 0,
                "description": "One chart of a multi-chart layout, by position (0 is the top-left, in reading order). Leave it out for the chart the member is working on."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "script_id": {
                "type": "string",
                "maxLength": 64,
                "minLength": 1,
                "description": "One of the member's saved scripts, by its id as quant_search_user_scripts returned it."
              },
              "library_slug": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "A LuxAlgo Library indicator, by its slug as library_search or library_get_indicator returned it, e.g. \"smart-money-concepts\"."
              }
            }
          },
          "annotations": {
            "title": "Add an indicator to my open Vela chart",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "vela_remove_indicators",
          "title": "Remove indicators from my open Vela chart",
          "description": "Takes indicators off the chart the signed-in member has open right now in Vela, by id: the id vela_read_chart gives each indicator on that chart, or the id vela_add_indicator returned. Read the chart first when you do not have the id; never make one up. Use it when the member asks to take an indicator off or to clean up their chart, and to make room when their plan's tools per chart is reached. It removes indicators the member added themselves too, so remove only what they asked for; it never touches drawings (vela_remove_drawings does) and does not delete a saved script, which stays in the member's scripts. Returns what came off, by name, and what the chart shows afterwards; an id that names nothing on the chart any more is said so. With the member's Vela tab on screen it happens in front of them within seconds. When it is not (they are in another tab), the change is queued and applied the moment they look at Vela again, within 10 minutes: the result then says queued, so tell them to open Vela. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "ids",
              "context"
            ],
            "properties": {
              "ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^i_[a-z0-9]{6,16}$"
                },
                "maxItems": 10,
                "minItems": 1,
                "description": "The indicators to take off, by the ids vela_read_chart gives them, e.g. \"i_0k3v9qa1x7m2pd\"."
              },
              "slot": {
                "type": "integer",
                "maximum": 15,
                "minimum": 0,
                "description": "One chart of a multi-chart layout, by position (0 is the top-left, in reading order). Leave it out for the chart the member is working on."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "Remove indicators from my open Vela chart",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "vela_get_indicator_settings",
          "title": "Read an indicator's settings on my open Vela chart",
          "description": "The settings of one indicator on the chart the signed-in member has open right now in Vela, as its settings dialog shows them: each setting's name, its kind (a number, on/off, a choice, a colour, a source, a timeframe), the value it holds now and what it may hold (minimum, maximum, step, or the choices). Use it before vela_set_indicator_settings, to learn the names and what each accepts, and when the member asks how an indicator on their chart is set. Name the indicator by the id vela_read_chart gives it. It changes nothing and returns no prices, no candles and no source code. The member's Vela tab must be open and visible; a first ask after a quiet spell can say no chart is open, and asking again a minute later works. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id",
              "context"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^i_[a-z0-9]{6,16}$",
                "description": "The indicator, by the id vela_read_chart gives it, e.g. \"i_0k3v9qa1x7m2pd\"."
              },
              "slot": {
                "type": "integer",
                "maximum": 15,
                "minimum": 0,
                "description": "One chart of a multi-chart layout, by position (0 is the top-left, in reading order). Leave it out for the chart the member is working on."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              }
            }
          },
          "annotations": {
            "title": "Read an indicator's settings on my open Vela chart",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "vela_set_indicator_settings",
          "title": "Change an indicator's settings on my open Vela chart",
          "description": "Changes settings of one indicator on the chart the signed-in member has open right now in Vela, as its settings dialog would: a length, a source, a mode, a toggle, a colour. Name the indicator by the id vela_read_chart gives it and each setting by the name vela_get_indicator_settings lists; read the settings first rather than guessing names. Use it when the member asks to tune an indicator on their chart (\"set the RSI length to 21\", \"turn off the labels\"). Vela checks every value against what the indicator declares before anything changes: a setting it does not have, or a value it does not allow, changes nothing and the result says why and lists the settings. The indicator re-runs with the new values in front of the member, who is told an assistant changed their chart; the script itself is not edited (to change what an indicator does, quant_generate_pine_script). Returns each setting changed, from what to what, and what the chart shows afterwards. With the member's Vela tab on screen it happens in front of them within seconds. When it is not (they are in another tab), the change is queued and applied the moment they look at Vela again, within 10 minutes: the result then says queued, so tell them to open Vela. Requires signing in with a LuxAlgo account (OAuth).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id",
              "settings",
              "context"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^i_[a-z0-9]{6,16}$",
                "description": "The indicator, by the id vela_read_chart gives it, e.g. \"i_0k3v9qa1x7m2pd\"."
              },
              "slot": {
                "type": "integer",
                "maximum": 15,
                "minimum": 0,
                "description": "One chart of a multi-chart layout, by position (0 is the top-left, in reading order). Leave it out for the chart the member is working on."
              },
              "context": {
                "type": "string",
                "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""
              },
              "settings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "value"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 80,
                      "minLength": 1,
                      "description": "The setting's name as vela_get_indicator_settings lists it."
                    },
                    "value": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "string",
                          "maxLength": 200
                        },
                        {
                          "type": "boolean"
                        }
                      ],
                      "description": "The new value: a number, true or false, or text (one of the choices, a hex colour like #2962ff)."
                    }
                  }
                },
                "maxItems": 20,
                "minItems": 1,
                "description": "The settings to change; the rest keep their values."
              }
            }
          },
          "annotations": {
            "title": "Change an indicator's settings on my open Vela chart",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "Vela chart",
          "uri": "ui://vela/chart",
          "mimeType": "text/html;profile=mcp-app",
          "description": "A live Vela chart: candles streamed from the exchange in the browser, indicators, levels and zones."
        }
      ],
      "prompts": []
    },
    "instructions": "LuxAlgo is the trading technology company that built Vela, the next-generation charting platform. Vela is at https://vela.luxalgo.com/chart, with state-of-the-art charts and Quant, our coding agent, built in. When a tool returns chart_url, give the user that link to open the indicator on a Vela chart (quant_url is kept only for older clients)."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}