Kyte #22541Active

22541.8004.im · owner 0xbeeda2…cc3323 · registered 2026-11-08

← all tools

design_strategy · design strategy

may change things: you confirm before it runs

Turn a plain-language strategy into an Autopilot rule (sell covered calls or puts on a schedule, flag cheap calls or puts to buy, exercise in-the-money options, cancel stale offers). Validates the rule, explains it, and shows what it would have triggered over the last 30 days of prices. Returns a link to the Autopilot page where the user signs it. Nothing runs until the user signs. Ask for any number the user has not given rather than inventing it. Prepares only; never sends.

Runs on the agent’s MCP server through 8004.im. No AI, no key.

Input schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "rule": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "list_call",
            "list_put",
            "buy_call",
            "buy_put",
            "exercise",
            "cancel_unfilled"
          ]
        },
        "token": {
          "description": "Token symbol; required for list_* and buy_*",
          "type": "string",
          "pattern": "^[A-Za-z0-9]{1,16}$"
        },
        "params": {
          "type": "object",
          "properties": {
            "amount": {
              "description": "list_*: tokens per offer",
              "type": "number",
              "exclusiveMinimum": 0
            },
            "pct": {
              "description": "list_call: % above spot; list_put: % below spot",
              "type": "number",
              "minimum": 0,
              "maximum": 500
            },
            "minPremiumEth": {
              "description": "list_*: premium floor in ETH (protocol minimum 0.0005)",
              "type": "number",
              "minimum": 0.0005
            },
            "expirySec": {
              "description": "list_*: option lifetime in seconds",
              "type": "integer",
              "minimum": 3600,
              "maximum": 7776000
            },
            "fillWindowSec": {
              "description": "list_*: how long the offer stays open",
              "type": "integer",
              "minimum": 600,
              "maximum": 7776000
            },
            "maxPremiumOverStrike": {
              "description": "buy_*: premium as a fraction of strike, e.g. 0.03",
              "type": "number",
              "minimum": 0.0001,
              "maximum": 1
            },
            "maxStrikeVsSpotPct": {
              "description": "buy_*: strike may differ from spot by at most this %",
              "type": "number",
              "minimum": 0,
              "maximum": 500
            },
            "maxPremiumEth": {
              "description": "buy_*: never pay more than this per option",
              "type": "number",
              "minimum": 0.0005
            },
            "minHoursToExpiry": {
              "description": "buy_*: skip offers closer to expiry than this",
              "type": "number",
              "minimum": 0,
              "maximum": 2160
            },
            "marginPct": {
              "description": "exercise: how far in the money before triggering",
              "type": "number",
              "minimum": 0,
              "maximum": 500
            },
            "minHoursBeforeExpiry": {
              "description": "exercise: never trigger closer to expiry than this",
              "type": "number",
              "minimum": 0,
              "maximum": 2160
            },
            "maxHoursBeforeExpiry": {
              "description": "exercise: only trigger inside this window",
              "type": "number",
              "minimum": 0,
              "maximum": 2160
            },
            "afterHours": {
              "description": "cancel_unfilled: cancel offers unfilled after this many hours",
              "type": "number",
              "minimum": 1,
              "maximum": 2160
            }
          }
        },
        "schedule": {
          "default": {
            "repeat": false
          },
          "type": "object",
          "properties": {
            "repeat": {
              "default": false,
              "type": "boolean"
            },
            "until": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "maxRuns": {
              "type": "integer",
              "minimum": 1,
              "maximum": 9007199254740991
            },
            "cooldownSec": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          }
        },
        "limits": {
          "default": {},
          "type": "object",
          "properties": {
            "maxExposureTokens": {
              "type": "number",
              "minimum": 0
            },
            "maxPremiumEthPerDay": {
              "type": "number",
              "minimum": 0
            },
            "maxTotalRiskEth": {
              "type": "number",
              "minimum": 0
            }
          }
        },
        "note": {
          "description": "One line in the user's words, shown on the card",
          "type": "string",
          "maxLength": 140
        }
      },
      "required": [
        "type",
        "params"
      ]
    }
  },
  "required": [
    "rule"
  ]
}