Skip to main content

Resolve Capability Executable

Category: System Resolve Capability Executable block screenshot

Resolves an executable capability ID such as runtime.ffmpeg or runtime.python to a machine-local executable path. Resolves a declared executable capability such as runtime.ffmpeg or runtime.python to a machine-local executable path. The resolved path is runtime data, not an authored portable path. Hosts may feed paths resolved this way into externalProcess executable permission review. Use this instead of authored literal paths when a workflow should be portable across machines. The host must verify the resolved executable through capability health checks and permission review. A resolved capability path may be forwarded to a child process as an argument or config-file value, but that forwarded tool must remain visible in requires/preflight.

Inputs

InputRequiredValue KindTypesEnum Values
idyesexpression

Notes

  • Resolves a capability ID such as runtime.ffmpeg or runtime.python to a machine-local executable path.
  • Use this instead of authored literal paths when a workflow should be portable across machines.
  • The host must verify the resolved executable through capability health checks and permission review.
  • A resolved capability path may be forwarded to a child process as an argument or config-file value, but that forwarded tool must remain visible in requires/preflight.

Examples

Pass Small Camera Metadata JSON To Python

Serializes the selected item's Camera metadata, enforces a 4096-character limit, and only then passes the JSON string directly to isolated Python as one process argument.

kind: Pattern · format: runtime-dsl · validation: Manual workspace

Topics: json, metadata, runtime python, external process

Source: patterns/ex-json-pass-small-camera-metadata-to-python.json

Download JSON

Write Camera Metadata JSON For Python

Serializes the selected item's Camera metadata, writes compact JSON to a flushed per-run randomized file, lets isolated Python read it, and removes the file after normal process completion.

kind: Pattern · format: runtime-dsl · validation: Manual workspace

Topics: json, metadata, files, runtime python, external process

Source: patterns/ex-json-write-camera-metadata-for-python.json

Download JSON