{
  "$schema": "https://docs.runlater.io/agent/tools.v1.schema.json",
  "version": "1.0.0",
  "format_owner": "RunLater",
  "protocol_status": "custom_data_not_tool_registration_or_authorization",
  "canonical_contract": {
    "url": "https://docs.runlater.io/openapi.json",
    "version": "0.6.0",
    "sha256": "0f6a658e18dff55ce391e75732987ca4e0f60a0f9b195793ce45aefcb533998e"
  },
  "automatic_execution": false,
  "hosted_enabled": false,
  "hosted_contract": "https://docs.runlater.io/agent/alpha.v1.json",
  "tools": [
    {
      "name": "schedule_task",
      "description": "Local emulator tool only. Hosted alpha uses the separate signed alpha contract; this bearer/fixture binding is not executable on the hosted API.",
      "effect": "schedule",
      "hosted_enabled": false,
      "local_enabled": true,
      "input_stability": "derived_from_canonical_local_openapi",
      "binding": {
        "method": "POST",
        "path": "/v1/tasks",
        "operation_id": "createTask",
        "required_permission": "enqueue"
      },
      "input_schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "idempotency_key": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "x-max-utf8-bytes": 128
          },
          "task": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "destination",
              "body",
              "operation_key"
            ],
            "properties": {
              "destination": {
                "type": "string",
                "enum": [
                  "fixture://success",
                  "fixture://retry",
                  "fixture://fail"
                ]
              },
              "body": {
                "type": "string",
                "maxLength": 16384,
                "description": "UTF-8 byte bound is also enforced",
                "x-max-utf8-bytes": 16384
              },
              "operation_key": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,128}$",
                "description": "Business operation identity, preserved on redrive"
              },
              "run_at_ms": {
                "type": "integer",
                "format": "int64",
                "minimum": 0,
                "default": 0,
                "description": "UTC Unix milliseconds; 0 or omitted means immediate; max 365 days ahead"
              }
            }
          }
        },
        "required": [
          "idempotency_key",
          "task"
        ]
      },
      "credential_transport": "authorization_header_managed_by_authorized_client_not_tool_arguments"
    },
    {
      "name": "task_status",
      "description": "Local emulator tool only. Hosted alpha uses the separate signed alpha contract; this bearer/fixture binding is not executable on the hosted API.",
      "effect": "read",
      "hosted_enabled": false,
      "local_enabled": true,
      "input_stability": "derived_from_canonical_local_openapi",
      "binding": {
        "method": "GET",
        "path": "/v1/tasks/{id}",
        "operation_id": "getTask",
        "required_permission": "read"
      },
      "input_schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "task_id": {
            "type": "string",
            "pattern": "^task_[0-9a-f]{16}$"
          }
        },
        "required": [
          "task_id"
        ]
      },
      "credential_transport": "authorization_header_managed_by_authorized_client_not_tool_arguments"
    },
    {
      "name": "cancel_task",
      "description": "Local emulator tool only. Hosted alpha uses the separate signed alpha contract; this bearer/fixture binding is not executable on the hosted API.",
      "effect": "cancel",
      "hosted_enabled": false,
      "local_enabled": true,
      "input_stability": "derived_from_canonical_local_openapi",
      "binding": {
        "method": "POST",
        "path": "/v1/tasks/{id}/cancel",
        "operation_id": "cancelTask",
        "required_permission": "cancel"
      },
      "input_schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "task_id": {
            "type": "string",
            "pattern": "^task_[0-9a-f]{16}$"
          }
        },
        "required": [
          "task_id"
        ]
      },
      "credential_transport": "authorization_header_managed_by_authorized_client_not_tool_arguments"
    },
    {
      "name": "registration_challenge",
      "description": "Disabled illustrative proposal. Key/proof formats, commercial terms and REST binding remain unresolved; this is not an implemented input contract.",
      "effect": "registration",
      "hosted_enabled": false,
      "local_enabled": false,
      "input_stability": "illustrative_nonbinding_proposal",
      "binding": null,
      "tracking_issue": 27,
      "input_schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "public_key": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2048
          }
        },
        "required": [
          "public_key"
        ]
      },
      "credential_transport": "authorization_header_managed_by_authorized_client_not_tool_arguments",
      "purchase_authority": "separate_wallet_delegation_required_before_any_future_spend"
    },
    {
      "name": "complete_registration",
      "description": "Disabled illustrative proposal. Key/proof formats, commercial terms and REST binding remain unresolved; this is not an implemented input contract.",
      "effect": "registration",
      "hosted_enabled": false,
      "local_enabled": false,
      "input_stability": "illustrative_nonbinding_proposal",
      "binding": null,
      "tracking_issue": 27,
      "input_schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "challenge_id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "proof": {
            "type": "string",
            "minLength": 1,
            "maxLength": 4096
          }
        },
        "required": [
          "challenge_id",
          "proof"
        ]
      },
      "credential_transport": "authorization_header_managed_by_authorized_client_not_tool_arguments",
      "purchase_authority": "separate_wallet_delegation_required_before_any_future_spend"
    },
    {
      "name": "inspect_entitlements",
      "description": "Disabled illustrative proposal. Key/proof formats, commercial terms and REST binding remain unresolved; this is not an implemented input contract.",
      "effect": "read",
      "hosted_enabled": false,
      "local_enabled": false,
      "input_stability": "illustrative_nonbinding_proposal",
      "binding": null,
      "tracking_issue": 30,
      "input_schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {},
        "required": []
      },
      "credential_transport": "authorization_header_managed_by_authorized_client_not_tool_arguments",
      "purchase_authority": "separate_wallet_delegation_required_before_any_future_spend"
    },
    {
      "name": "request_credit_quote",
      "description": "Disabled illustrative proposal. Key/proof formats, commercial terms and REST binding remain unresolved; this is not an implemented input contract.",
      "effect": "read",
      "hosted_enabled": false,
      "local_enabled": false,
      "input_stability": "illustrative_nonbinding_proposal",
      "binding": null,
      "tracking_issue": 29,
      "input_schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "requested_units": {
            "type": "integer",
            "minimum": 1,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "requested_units"
        ]
      },
      "credential_transport": "authorization_header_managed_by_authorized_client_not_tool_arguments",
      "purchase_authority": "separate_wallet_delegation_required_before_any_future_spend"
    },
    {
      "name": "initiate_credit_purchase",
      "description": "Disabled illustrative proposal. Key/proof formats, commercial terms and REST binding remain unresolved; this is not an implemented input contract.",
      "effect": "potential_spend",
      "hosted_enabled": false,
      "local_enabled": false,
      "input_stability": "illustrative_nonbinding_proposal",
      "binding": null,
      "tracking_issue": 30,
      "input_schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "quote_id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "idempotency_key": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          }
        },
        "required": [
          "quote_id",
          "idempotency_key"
        ]
      },
      "credential_transport": "authorization_header_managed_by_authorized_client_not_tool_arguments",
      "purchase_authority": "separate_wallet_delegation_required_before_any_future_spend"
    }
  ]
}
