Skip to content

get_action

Inspect one exact saved Action and its trusted execution effects without source, argument values or webhook secrets. Core runs TypeScript on its host with Deno --allow-all and a temporary built-in administrator API key. First read effects and copy effects.acknowledgement before running. This is trusted host/admin automation. Schedule tools are separate.

Availability

Available under the default capability policy

The instance’s tool selection and upstream Core permissions also apply. Some inputs require additional grants.

Effect annotations

  • readOnlyHint — true
  • destructiveHint — false
  • idempotentHint — true

Inputs

The registered schema gives field types, alternatives and declared bounds. The description and operator guides also cover checks applied at runtime.

id
Exact stable resource ID returned by a list tool. type "string" · pattern "^[0-9a-fA-F]{24}$"
name
Exact, case-sensitive name within this family; never interpreted as an ID. type "string" · minLength 1 · pattern "\\S"
Show input JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "required": [
        "id"
      ]
    },
    {
      "required": [
        "name"
      ]
    }
  ],
  "properties": {
    "id": {
      "description": "Exact stable resource ID returned by a list tool.",
      "pattern": "^[0-9a-fA-F]{24}$",
      "type": "string"
    },
    "name": {
      "description": "Exact, case-sensitive name within this family; never interpreted as an ID.",
      "minLength": 1,
      "pattern": "\\S",
      "type": "string"
    }
  },
  "type": "object"
}

Output

The registered output schema covers structured results and tool errors.

Detail
definition, effects, summary
AppError
candidates, correction, field, kind, message, operation, status
Show output JSON Schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "anyOf": [
    {
      "$ref": "#/$defs/Detail"
    },
    {
      "$ref": "#/$defs/AppError"
    }
  ],
  "$defs": {
    "Acknowledgement": {
      "additionalProperties": false,
      "properties": {
        "broader_effects_possible": {
          "type": "boolean"
        },
        "core_admin_authority": {
          "type": "boolean"
        },
        "host_access": {
          "type": "boolean"
        }
      },
      "required": [
        "core_admin_authority",
        "host_access",
        "broader_effects_possible"
      ],
      "type": "object"
    },
    "ActionEffects": {
      "properties": {
        "acknowledgement": {
          "$ref": "#/$defs/Acknowledgement"
        },
        "cancellation_limit": {
          "type": "string"
        },
        "configuration_race": {
          "type": "string"
        },
        "definition": {
          "$ref": "#/$defs/DefinitionSummary"
        }
      },
      "required": [
        "definition",
        "acknowledgement",
        "cancellation_limit",
        "configuration_race"
      ],
      "type": "object"
    },
    "ActionSummary": {
      "properties": {
        "id": {
          "type": "string"
        },
        "last_run_at": {
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "name": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "template": {
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "name",
        "template",
        "state",
        "last_run_at"
      ],
      "type": "object"
    },
    "AppError": {
      "additionalProperties": false,
      "description": "Only application-owned messages and selected, nonsensitive metadata survive.",
      "properties": {
        "candidates": {
          "items": {
            "$ref": "#/$defs/Candidate"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "correction": {
          "type": [
            "string",
            "null"
          ]
        },
        "field": {
          "type": [
            "string",
            "null"
          ]
        },
        "kind": {
          "$ref": "#/$defs/ErrorKind"
        },
        "message": {
          "type": "string"
        },
        "operation": {
          "type": "string"
        },
        "status": {
          "format": "uint16",
          "maximum": 65535,
          "minimum": 0,
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "kind",
        "message",
        "operation"
      ],
      "type": "object"
    },
    "Candidate": {
      "additionalProperties": false,
      "description": "A bounded ambiguity hint, never a raw upstream resource.",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "name"
      ],
      "type": "object"
    },
    "DefinitionSummary": {
      "properties": {
        "argument_merge": {
          "type": "string"
        },
        "arguments_format": {
          "type": "string"
        },
        "authority": {
          "type": "string"
        },
        "default_arguments_configured": {
          "type": "boolean"
        },
        "failure_alert": {
          "type": "boolean"
        },
        "nonempty_schedule_configured": {
          "type": "boolean"
        },
        "reload_deno_deps": {
          "type": "boolean"
        },
        "run_at_startup": {
          "type": "boolean"
        },
        "schedule_enabled": {
          "type": "boolean"
        },
        "source_bytes": {
          "format": "uint",
          "minimum": 0,
          "type": "integer"
        },
        "source_configured": {
          "type": "boolean"
        },
        "webhook_enabled": {
          "type": "boolean"
        }
      },
      "required": [
        "source_configured",
        "source_bytes",
        "default_arguments_configured",
        "arguments_format",
        "reload_deno_deps",
        "run_at_startup",
        "webhook_enabled",
        "nonempty_schedule_configured",
        "schedule_enabled",
        "failure_alert",
        "authority",
        "argument_merge"
      ],
      "type": "object"
    },
    "Detail": {
      "properties": {
        "definition": {
          "$ref": "#/$defs/DefinitionSummary"
        },
        "effects": {
          "$ref": "#/$defs/ActionEffects"
        },
        "summary": {
          "$ref": "#/$defs/ActionSummary"
        }
      },
      "required": [
        "summary",
        "definition",
        "effects"
      ],
      "type": "object"
    },
    "ErrorKind": {
      "description": "Stable public categories. No variant contains a raw upstream error.",
      "enum": [
        "invalid_arguments",
        "not_found",
        "ambiguous_target",
        "incomplete_resolution",
        "configuration",
        "authentication",
        "permission_denied",
        "timeout",
        "unreachable",
        "upstream",
        "invalid_response",
        "response_too_large",
        "capability_disabled",
        "unsupported_target",
        "stale_preview",
        "invalid_preview"
      ],
      "type": "string"
    }
  }
}

Operator guides

All built-in tools