Extract Artifact
extract_artifactExtracts all regular files from the active archive or application package into a fresh REA-chosen temp directory, returning its location with traversal, overwrite, cleanup, and integrity safeguards.
Instructions
Extract all regular files from the active archive or application package into a fresh temporary directory chosen by REA. The result includes its location. Rejects traversal and symlink escapes, never overwrites, and verifies cleanup. Integrity mismatches fail by default; record-and-continue extracts the observed bytes and returns each mismatch as an explicitly untrusted integrity contradiction.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "extract_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| integrity_policy | No |