Artifact Attach
artifact_attachAttach a local file to a Knowledge OS item by copying it into the artifacts folder (max 100 MB) and returning its metadata.
Instructions
Anexa um arquivo local a um item (copiado para /artifacts, até 100 MB).
Use quando: O valor do item é um arquivo (diagrama, template, script). Retorna: Metadados do anexo (id, filename, file_size, mime_type). Exemplo: artifact_attach(item_id="...", file_path="C:/docs/arquitetura.png") Notas: Use só caminhos que o usuário indicou. A lista vem em item_get → artifacts.
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": {
"item_id": "<item_id>",
"file_path": "<file_path>"
},
"name": "artifact_attach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| file_path | Yes | ||
| connection_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||