Show artifact
show_artifactShow a saved artifact to the user as an inline card they can expand and scroll, in hosts that draw cards. Call it once after create_artifact or update_artifact saves one, or when the user asks to see an existing artifact. Returns its title, description and viewer link; nothing about the artifact changes. Where the host draws the card, the user can already see the artifact: say in a sentence what it shows and do not repeat its contents. Where no card appears, give the user the artifactUrl.
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": {
"fileId": "<fileId>"
},
"name": "show_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | The artifact's .artifact folder ID, as create_artifact, update_artifact or list_files returned it; never an embedded report file ID. |