foundplay-io · Schema

RollDamageRequest

Weapon-bound damage roll. Module looks up the item's `attack` activity and rolls the damage formula — base dice + ability modifier + magic bonuses. **`critical: true` doubles the dice** (Foundry standard crit damage handling) and the response's `is_critical` flag is set to true regardless of any natural d20 in the dice. Use this when the preceding `roll-attack` came back as crit (or when you simply want to force a crit damage roll). **`is_fumble` is never set on damage rolls** — the concept doesn't apply.

GamesBrowserIndieAI-generatedFree

Properties

Name Type Description
actor_id string Foundry actor id within the calling tenant's world.
critical boolean Force critical-hit damage (double dice). Sets `is_critical: true` on the response. Use after a successful crit attack roll.
item_id string Item id (weapon or attack-spell) owned by the actor.
show_in_chat boolean Post the roll to the world's Foundry chat. Default false (silent).
View JSON Schema on GitHub

JSON Schema

foundplay-io-roll-damage-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/foundplay-io/json-schema/foundplay-io-roll-damage-request-schema.json",
  "title": "RollDamageRequest",
  "description": "Weapon-bound damage roll. Module looks up the item's `attack` activity and rolls the damage formula — base dice + ability modifier + magic bonuses.\n\n**`critical: true` doubles the dice** (Foundry standard crit damage handling) and the response's `is_critical` flag is set to true regardless of any natural d20 in the dice. Use this when the preceding `roll-attack` came back as crit (or when you simply want to force a crit damage roll).\n\n**`is_fumble` is never set on damage rolls** — the concept doesn't apply.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/foundplay-io-openapi.json#/components/schemas/RollDamageRequest",
  "properties": {
    "actor_id": {
      "description": "Foundry actor id within the calling tenant's world.",
      "minLength": 1,
      "type": "string"
    },
    "critical": {
      "default": false,
      "description": "Force critical-hit damage (double dice). Sets `is_critical: true` on the response. Use after a successful crit attack roll.",
      "type": "boolean"
    },
    "item_id": {
      "description": "Item id (weapon or attack-spell) owned by the actor.",
      "minLength": 1,
      "type": "string"
    },
    "show_in_chat": {
      "default": false,
      "description": "Post the roll to the world's Foundry chat. Default false (silent).",
      "type": "boolean"
    }
  },
  "required": [
    "actor_id",
    "item_id"
  ],
  "type": "object"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/foundplay-io-roll-damage-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.