Built by Metorial, the integration platform for agentic AI.
Generate text from a single prompt using Writer's Palmyra models. Unlike chat completion, this takes a plain text prompt and returns a text continuation. Best for single-turn text generation tasks like summarization, rewriting, or content creation.
DEPRECATED — use `download_original_file` instead. Download the content of a file by its ID as text.
Permanently delete a file discovered with list_files. The file will be disassociated from all Knowledge Graphs. This action cannot be undone.
Retrieve details of a no-code agent discovered with list_agents, including its required inputs, configuration, and capabilities. Use this to understand what inputs are needed before invoking an agent.
List files uploaded to Writer. Returns file metadata including ID, name, status, and associated Knowledge Graph IDs. Supports pagination and ordering.
Add an uploaded file to a Knowledge Graph. Call list_knowledge_graphs and list_files to discover IDs. Upload the file with upload_file and wait for get_file to report completed before adding it.
Ask a question to one or more Knowledge Graphs discovered with list_knowledge_graphs and get an AI-generated answer grounded in your uploaded data. Returns the answer, source references, and optional inline citations. Supports subquery decomposition for complex questions.
Run a deployed no-code agent (application) as a microservice by providing its required inputs. Returns the generated output. Use **List Agents** first to find the agent ID and required input fields.
Retrieve details and file ingestion status for a Knowledge Graph. Call list_knowledge_graphs to discover IDs.
List a page of accessible Knowledge Graphs in your Writer account. Returns the ID, name, description, and creation date of each graph.
Create a new Knowledge Graph in Writer. A Knowledge Graph is a collection of files used for RAG-based question answering. After creation, add files to it using add_file_to_graph.
Generate AI responses from conversation history using Writer's Palmyra models. Supports multi-turn conversations with system, user, and assistant messages. Can leverage **tool calling** with custom functions, Knowledge Graph queries, and web search. Use **response format** to get structured JSON output (compatible models).
List deployed no-code agents (applications) in your Writer account. Returns agent metadata including IDs, names, and types. Use this to discover available agents and their application IDs before invoking them.
List available Palmyra and configured external models in your Writer account. Returns model IDs and names. Use this to discover which models are available for text generation and chat completions.
Permanently delete a Knowledge Graph and disassociate all its files. Call list_knowledge_graphs to discover IDs. This action cannot be undone.
Remove a file from a Knowledge Graph. Call list_knowledge_graphs and list_files to discover IDs. The file can be re-added later or used with other graphs.
Update the name and/or description of an existing Knowledge Graph. Call list_knowledge_graphs to discover IDs.
Retrieve metadata for a file discovered with list_files, including the file name, processing status, and associated Knowledge Graphs.
Prepare an uploaded Writer file discovered with list_files for download, preserving the original binary content.
Upload a text or binary file to Writer for Knowledge Graphs or agent inputs. Optionally associate it with a graph. Retrieve the file afterward to confirm the graph association.