get_artifact
Retrieve media files generated by delegated jobs: small images return inline for review, while videos, audio, PDFs, and large images return file paths and metadata.
Instructions
委譲ジョブが生成したメディアファイルを取得する。画像(png/jpg/gif/webp、3MB以下)は画像コンテンツとしてインライン返却されるので、内容を確認しユーザーに提示すること。動画・音声・PDF・大きい画像はパスとメタ情報が返るので、そのパスのファイルをユーザーに直接提示すること。pathはジョブのcwdからの相対パスまたはcwd配下の絶対パス。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"job_id": "<job_id>",
"path": "<path>"
},
"name": "get_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 取得するファイル(cwd相対またはcwd配下の絶対パス) | |
| job_id | Yes |