upload_document
Upload a supported document from your computer to an owned Knowledge Agent and wait for text extraction, returning completed status with passage count, failure error, or processing status.
Instructions
Upload a file from this computer to a Knowledge Agent you own, and wait for its text.
Formats: PDF, DOCX, TXT, MD, JSON, CSV, TSV and XLSX. This waits up to 45 seconds while CrowdSmart extracts the text, and returns the status: "completed" (with the number of passages), "failed" (with the error) or "processing" (check later with get_document_status). Upload only files the user chose.
Args: agent_id: ID of a Knowledge Agent you own. path: Path of the file on the computer that runs this server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| agent_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||