Skip to content

seed_media_export_artifact

Get the local file path of a persisted artifact, or copy it to destination_path.

Avoids streaming Base64 through context. Stdio transport only (client and server share a filesystem).

Requirement Value
Registration Always registered; no provider credentials required.
Execution Foreground only
Required permission artifacts:read

This site lists the full configured capability surface, not the tools enabled on your particular server. Use model discovery and job discovery to check your connection. Credentials are server configuration, never tool arguments.

Ask your connected AI client to use seed_media_export_artifact for the operation you want. The client constructs the arguments and handles tool calls. Review its proposed operation before approving anything billable. For a non-billable introduction, start with discovery without generation.

Call this tool directly. It is not a background-job target.

Match the input fields below and the full JSON Schema. See the worked examples for this capability and Background Execution for job/result handling.

The MCP arguments object wraps these fields as {"input": {...}}.

Field Type Required Description and constraints
artifact_id string Yes Artifact ID (ArtifactRef.id) from a generation result.; minLength: 1
destination_path string or null No Absolute path for a copy of the artifact, inside an allowed output root (client roots or OUTPUT_ROOTS). Omit to get the store path instead.; Default: null
overwrite boolean No Allow replacing an existing destination file with different content.; Default: false
Field Type Required Description and constraints
artifact_id string Yes Artifact identifier.
bytes integer Yes Size in bytes.
copied boolean Yes True when path is a copy at destination_path; false when it is the store location.
media_type MediaType Yes image, audio, video, or three_d.
mime_type string Yes MIME type of the stored content.
path string Yes Absolute on-disk path of the file.
sha256 string or null No SHA-256 hex digest.; Default: null

Field types named above refer to these shared definitions. Optional/null fields, enum choices and bounds are retained in the complete schemas below. Schema validation is followed by runtime capability and security checks.

SeedMediaExportArtifactInput
Field Type Required Description and constraints
artifact_id string Yes Artifact ID (ArtifactRef.id) from a generation result.; minLength: 1
destination_path string or null No Absolute path for a copy of the artifact, inside an allowed output root (client roots or OUTPUT_ROOTS). Omit to get the store path instead.; Default: null
overwrite boolean No Allow replacing an existing destination file with different content.; Default: false
Input schema, including the MCP wrapper
{
"$defs": {
"SeedMediaExportArtifactInput": {
"description": "Input model for ``seed_media_export_artifact``.",
"properties": {
"artifact_id": {
"description": "Artifact ID (ArtifactRef.id) from a generation result.",
"minLength": 1,
"type": "string"
},
"destination_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Absolute path for a copy of the artifact, inside an allowed output root (client roots or OUTPUT_ROOTS). Omit to get the store path instead."
},
"overwrite": {
"default": false,
"description": "Allow replacing an existing destination file with different content.",
"type": "boolean"
}
},
"required": [
"artifact_id"
],
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"input": {
"$ref": "#/$defs/SeedMediaExportArtifactInput"
}
},
"required": [
"input"
],
"type": "object"
}
Output schema, including nested definitions
{
"$defs": {
"MediaType": {
"description": "Logical generated-media categories.",
"enum": [
"image",
"audio",
"video",
"three_d"
],
"title": "MediaType",
"type": "string"
}
},
"description": "Output model for ``seed_media_export_artifact``.",
"properties": {
"artifact_id": {
"description": "Artifact identifier.",
"title": "Artifact Id",
"type": "string"
},
"bytes": {
"description": "Size in bytes.",
"title": "Bytes",
"type": "integer"
},
"copied": {
"description": "True when path is a copy at destination_path; false when it is the store location.",
"title": "Copied",
"type": "boolean"
},
"media_type": {
"$ref": "#/$defs/MediaType",
"description": "image, audio, video, or three_d."
},
"mime_type": {
"description": "MIME type of the stored content.",
"title": "Mime Type",
"type": "string"
},
"path": {
"description": "Absolute on-disk path of the file.",
"title": "Path",
"type": "string"
},
"sha256": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "SHA-256 hex digest.",
"title": "Sha256"
}
},
"required": [
"artifact_id",
"path",
"media_type",
"mime_type",
"bytes",
"copied"
],
"title": "SeedMediaExportArtifactOutput",
"type": "object"
}
  • Missing tool: check provider credentials and feature flags, then restart the connection.
  • Invalid arguments: keep the correct wrapper and follow current model limits from discovery. A valid schema alone does not prove the chosen model supports the combination.
  • A job completes with an error: inspect the original tool result, not only the outer job status. Never automatically resubmit potentially billable work.
  • Local output writes from jobs require server-configured OUTPUT_ROOTS; HTTP cannot write to a client’s local disk.

See configuration, background execution, and artifact delivery.