Skip to main content
Melso Agents is available only internally or by private invitation. Agents-specific features require existing access. For the autónomo fiscal service, see Get started.
Prepare an upload with request_id, page_id, property_id, expected_revision, expected_schema_revision, filename, content_type and size_bytes (up to 100 MiB). PUT bytes to upload.path on this server with X-Knowledge-Upload-Token: upload.token, then save the ready file ID using knowledge_write. Files fields hold up to 25 IDs. Get reads metadata for page_id and ids; download through the authenticated file endpoint with page_id. Removing an ID preserves its history. Omit property_id and the expected versions to attach a PNG, JPEG, GIF or WebP image (up to 10 MiB) to the page body, then reference the ready file ID as ![](melso-file:<file id>) in body_markdown. Availability: Autónomo / Empresa / Agents invitation. Catalog: Advanced (tools_search, then tools_call). The live catalog is authoritative: company type, membership, plan, connected apps and execution context can narrow this contract. Understand access.

Input

Agents / Autónomo / Company schema

Output

File metadata, attachment changes, or the selected file-operation result. The result uses MCP content blocks; JSON payloads are encoded in text and may also appear in structuredContent. Check isError before reading a success payload. The server does not currently declare an outputSchema, so treat additional fields as extensible. Result handling.

Example

Use an OAuth access token issued for this MCP resource (a Run token for Run-only tools). Replace example identifiers with values from your own account. Write actions change data. First discover knowledge_files with tools_search and confirm that the live schema permits these arguments.