federated_asset
Get one attachment of a remote note — a file, not text. Canonical loop: federated_note_html(kb_id, path) -> for each name in its assets: federated_asset(kb_id, note_path=, name=). Returns the asset's size and sha256 and a short-lived download URL on this server that streams the file from the remote base; fetch it with curl (the URL needs no other credential) and check the sha256. The file itself never comes back in the tool result. Only a directly connected base: kb_id without '/'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | One name from that note's assets, copied verbatim, e.g. "files/attach.zip" | |
| kb_id | Yes | Directly connected knowledge base id, as in federated_note_html | |
| note_path | Yes | The remote note's path, exactly as passed to federated_note_html |