Connect Writer to AI agents

Connect Writer to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Tools

text_completion

Text Completion

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.

download_file

Download File

Download the content of a file by its ID. Returns the file content as text.

delete_file

Delete File

Permanently delete a file from Writer. The file will be disassociated from all Knowledge Graphs. This action cannot be undone.

get_agent_details

Get Agent Details

Retrieve details of a specific no-code agent (application) including its required inputs, configuration, and capabilities. Use this to understand what inputs are needed before invoking an agent.

list_files

List Files

List files uploaded to Writer. Returns file metadata including ID, name, status, and associated Knowledge Graph IDs. Supports pagination and ordering.

add_file_to_graph

Add File to Knowledge Graph

Add an uploaded file to a Knowledge Graph. The file must be uploaded to Writer first using the file upload process. Once added, the file's content becomes queryable through the Knowledge Graph.

query_knowledge_graph

Query Knowledge Graph

Ask a question to one or more 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.

invoke_agent

Invoke No-Code Agent

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.

get_knowledge_graph

Get Knowledge Graph

Retrieve details of a specific Knowledge Graph by its ID, including its name, description, and creation date.

list_knowledge_graphs

List Knowledge Graphs

List all Knowledge Graphs in your Writer account. Returns the ID, name, description, and creation date of each graph.

create_knowledge_graph

Create Knowledge 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 the **Manage Knowledge Graph Files** tool.

chat_completion

Chat Completion

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 (palmyra-x4 and palmyra-x5).

list_agents

List Agents

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_models

List Models

List all available Palmyra models in your Writer account. Returns model IDs, names, and types. Use this to discover which models are available for text generation and chat completions.

delete_knowledge_graph

Delete Knowledge Graph

Permanently delete a Knowledge Graph and disassociate all its files. This action cannot be undone.

remove_file_from_graph

Remove File from Knowledge Graph

Remove a file from a Knowledge Graph. The file itself is not deleted and can be re-added later or used with other graphs.

update_knowledge_graph

Update Knowledge Graph

Update the name and/or description of an existing Knowledge Graph.

get_file

Get File

Retrieve metadata for a specific file by its ID, including the file name, processing status, and associated Knowledge Graphs.

More integrations teams use with Writer

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Subscribe to real-time change events via Change Data Capture and Platform Events. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Confluence

Create, read, update, and delete pages, blog posts, comments, and attachments in Confluence spaces. Manage spaces, permissions, labels, and content restrictions. Search content using Confluence Query Language (CQL). Upload and download file attachments with versioning. Manage users, groups, and group memberships. Create and manage whiteboards, databases, folders, and templates. View and update inline tasks. Access audit logs. Listen for webhooks on page, blog, comment, attachment, space, label, and user events.

Bitbucket

Manage Git repositories, pull requests, and CI/CD pipelines on Bitbucket Cloud. Create, fork, and configure repositories within workspaces and projects. Create, review, approve, merge, and decline pull requests with inline code comments. Browse source code, list commits, and manage branches and tags. Track issues with the built-in issue tracker. Trigger, monitor, and manage Bitbucket Pipelines. List workspace members, configure repository default reviewers and branch restrictions, create and manage repository webhooks, and search code across repositories.

Technical notes for Writer

Generate text and chat completions using Writer's Palmyra family of large language models. Create and manage Knowledge Graphs for RAG-based question answering with inline citations. Upload, list, retrieve, and delete files for use with Knowledge Graphs and agents. Analyze images via vision capabilities. Perform web searches for real-time information retrieval. Invoke no-code AI agents as microservices for text generation and research tasks. Use tool calling to integrate custom functions, Knowledge Graph queries, vision, translation, model delegation, and web search within chat conversations. Parse PDFs to extract structured content. Configure guardrails for content safety including toxic content detection and PII protection.

Connect Writer to production AI agents

See how Metorial gives Writer access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting Writer to AI agents with Metorial.

  1. Can Metorial connect Writer to AI agents?
    Yes. Metorial connects AI agents to Writer through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.