Pular para o conteúdo
ReferênciaCLI

jiraya attachment

Referência do comando jiraya attachment da CLI do Jiraya: subcomandos, uso, flags e exemplos, gerados a partir da ajuda.

Work with attachments

Subcomandos

ComandoDescrição
jiraya attachment downloadDownload an attachment to a local file
jiraya attachment uploadUpload a file to attach to your chat reply

jiraya attachment download

Download an attachment to a local file

Download an attachment by its ID to a local file.

Uso

jiraya attachment download <attachment-id> [flags]

Exemplos

# Download an image attachment to the current directory
$ jiraya attachment download abc123

# Download to a directory inside the working directory (keep agent
# downloads out of /tmp and other machine-shared paths, MUL-4252)
$ jiraya attachment download abc123 -o ./attachments

Flags

FlagDescriçãoPadrão
-o, --output-dir stringDirectory to save the downloaded file.

jiraya attachment upload

Upload a file to attach to your chat reply

Upload a local file so it is attached to the reply of the current chat task.

Intended for agents running inside a chat task: the file is tagged with the task and, when the task completes, the server binds it to the assistant reply it produces — it appears as an attachment card below your reply even if you paste nothing. The command also returns a markdown snippet you may paste on its own line to place the item: files use !file[name](url) (a card), images use ![name](url) (inline).

The task id is read from JIRAYA_TASK_ID (set by the daemon inside a task); override it with --task when needed.

Uso

jiraya attachment upload <path> [flags]

Exemplos

# Attach an image to the current chat reply
$ jiraya attachment upload ./chart.png

Flags

FlagDescriçãoPadrão
--task stringChat task id to attach to (defaults to JIRAYA_TASK_ID)

Atualizado em

Nesta página