← WebMCP Directory

Tool tree

dag-studio-webmcp-sandbox.pages.dev

Health & EducationTools verified
Website
DAG Studio
Explore capabilities
    get_current_dagAnswer

    Read the exact causal DAG currently visible in DAG Studio, including node roles, canvas positions, edges, exposure, and outcome.

    View tool JSON
    {
      "name": "get_current_dag",
      "kind": "answer",
      "impl": "imperative",
      "description": "Read the exact causal DAG currently visible in DAG Studio, including node roles, canvas positions, edges, exposure, and outcome.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    }
    add_nodeAction

    Add a researcher-reviewable variable to the live DAG Studio canvas. Use unclassified when the scientific role is uncertain. The change is visibly attributed to the agent and can be undone.

    View tool JSON
    {
      "name": "add_node",
      "kind": "act",
      "impl": "imperative",
      "description": "Add a researcher-reviewable variable to the live DAG Studio canvas. Use unclassified when the scientific role is uncertain. The change is visibly attributed to the agent and can be undone.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "exposure",
              "outcome",
              "confounder",
              "mediator",
              "collider",
              "latent",
              "variable",
              "unclassified"
            ]
          },
          "x": {
            "type": "number"
          },
          "y": {
            "type": "number"
          }
        },
        "required": [
          "id",
          "label"
        ]
      }
    }
    remove_nodeAction

    Remove a variable and its incident edges from the live canvas. The agent change is visible and undoable.

    View tool JSON
    {
      "name": "remove_node",
      "kind": "act",
      "impl": "imperative",
      "description": "Remove a variable and its incident edges from the live canvas. The agent change is visible and undoable.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ]
      }
    }
    add_edgeAction

    Add a directed causal claim to the live DAG. Duplicate and cyclic edges are rejected. The visible change is undoable.

    View tool JSON
    {
      "name": "add_edge",
      "kind": "act",
      "impl": "imperative",
      "description": "Add a directed causal claim to the live DAG. Duplicate and cyclic edges are rejected. The visible change is undoable.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string"
          },
          "target": {
            "type": "string"
          }
        },
        "required": [
          "source",
          "target"
        ]
      }
    }
    remove_edgeAction

    Remove one directed edge from the live DAG. The visible change is undoable.

    View tool JSON
    {
      "name": "remove_edge",
      "kind": "act",
      "impl": "imperative",
      "description": "Remove one directed edge from the live DAG. The visible change is undoable.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string"
          },
          "target": {
            "type": "string"
          }
        },
        "required": [
          "source",
          "target"
        ]
      }
    }
    analyze_current_dagAction

    Verify the current DAG with the existing DAG Studio causal engine. Results are conditional on the researcher-authored structure.

    View tool JSON
    {
      "name": "analyze_current_dag",
      "kind": "act",
      "impl": "imperative",
      "description": "Verify the current DAG with the existing DAG Studio causal engine. Results are conditional on the researcher-authored structure.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    }
    check_adjustment_setAnswer

    Check whether proposed node ids block every encoded backdoor path without deciding whether adjustment is scientifically appropriate.

    View tool JSON
    {
      "name": "check_adjustment_set",
      "kind": "answer",
      "impl": "imperative",
      "description": "Check whether proposed node ids block every encoded backdoor path without deciding whether adjustment is scientifically appropriate.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "adjustment_set": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "adjustment_set"
        ]
      }
    }
    generate_analysis_codeAction

    Generate R or Python code for the exact current canvas using the existing DAG Studio engine.

    View tool JSON
    {
      "name": "generate_analysis_code",
      "kind": "act",
      "impl": "imperative",
      "description": "Generate R or Python code for the exact current canvas using the existing DAG Studio engine.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "language": {
            "type": "string",
            "enum": [
              "r",
              "python"
            ]
          }
        },
        "required": [
          "language"
        ]
      }
    }
    simulate_current_dagAction

    Simulate reproducible data from the exact current canvas using DAG Studio's existing linear Gaussian SEM, show the result in the visible simulation panel, and return bounded summaries for comparing causal hypotheses. Results describe implications of the encoded model, not evidence that the model is scientifically correct.

    View tool JSON
    {
      "name": "simulate_current_dag",
      "kind": "act",
      "impl": "imperative",
      "description": "Simulate reproducible data from the exact current canvas using DAG Studio's existing linear Gaussian SEM, show the result in the visible simulation panel, and return bounded summaries for comparing causal hypotheses. Results describe implications of the encoded model, not evidence that the model is scientifically correct.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "run_label": {
            "type": "string",
            "description": "A short label used to distinguish this result from another hypothesis, for example \"Hypothesis A\"."
          },
          "sample_size": {
            "type": "integer",
            "enum": [
              100,
              500,
              1000,
              2500,
              5000,
              10000
            ],
            "description": "Number of observations to simulate. Defaults to 1000."
          },
          "seed": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2147483647,
            "description": "Reproducible random seed. Defaults to 42."
          },
          "edge_coefficients": {
            "type": "object",
            "description": "Optional coefficient overrides keyed by exact node-id edge strings such as \"exposure->outcome\". Unspecified edges use 0.5.",
            "additionalProperties": {
              "type": "number"
            }
          }
        }
      }
    }