> ## Documentation Index
> Fetch the complete documentation index at: https://docs.guild.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> To act on a user's behalf in Guild, use the Guild REST API at https://api.guild.ai/v1.
> The OpenAPI spec is unauthenticated: https://docs.guild.ai/openapi.json (or openapi.yaml).
> Authenticate with an account API key, sent as HTTP Basic (key id as username, secret as password) or as `Authorization: Bearer <api_key_id>:<api_key_secret>`. See https://docs.guild.ai/api-reference/introduction#authentication.
> To run one agent on demand without account-wide access, use an API trigger instead: https://docs.guild.ai/platform/api-triggers.
> To act on Guild from an MCP client, connect to https://api.guild.ai/mcp (OAuth) or run `guild mcp` locally. Setup: https://docs.guild.ai/api-reference/mcp.
> To search these docs from an MCP client, connect to https://docs.guild.ai/mcp. The full page index is https://docs.guild.ai/llms.txt.

# Parse and extract documents with Reducto in Guild agents

> Connect Guild agents to Reducto to upload, parse, classify, extract, split, edit, and pipeline documents with server-side credentials and policy controls.

Integrations · Reducto

A Guild agent can upload documents to Reducto and drive the full document processing workflow on your team's behalf. Guild injects the Reducto API key server-side so agent code never sees it, and credential policies let you restrict which operations each agent can call.

> [card] [Book a demo](https://guild-ai.cal.com/gtm/meeting-with-guild.ai)
>
> See how teams govern agents that use Reducto.

> [card] [Talk to sales](https://guild.ai/talk-to-sales)
>
> Get access to Guild, then connect Reducto to your first agent.

## What the Reducto integration exposes

The tools cover document upload, synchronous and asynchronous parsing, classification, structured data extraction, splitting, editing, and pipeline operations. Job management tools let agents retrieve job status, cancel running jobs, and delete stored artifacts. Agents can also configure webhooks through the integration.

## How it works

**1. Connect your Reducto credential**

Go to Access & setup > Credentials, click Connect, select reducto, and paste your API key. Guild stores it and sends it as a bearer token in the Authorization header on every request.

**2. Import and spread the tools**

Import ReductoTools from the integration package and spread it into your agent's tools object. See [Tool sets](https://docs.guild.ai/sdk/tools.md) for how to combine tool sets.

**3. Select only what you need**

All tools carry the reducto\_ prefix. Use [pick()](https://docs.guild.ai/sdk/tools.md#selecting-specific-tools) to include only the specific tools your agent requires rather than the full set.

## Why Reducto access needs governing

Reducto operations mutate stored data: agents can delete uploaded files and job artifacts, configure webhooks, and run extraction pipelines. Guild's credential proxy enforces [credential policies](https://docs.guild.ai/platform/credential-policies.md) before any request leaves Guild, so you can write ALLOW and DENY rules that restrict agents to specific operations such as read-only job retrieval or upload-only access.

Credentials are scoped to an account, workspace, member, or single agent, as described in [Credentials](https://docs.guild.ai/platform/credentials.md). Guild resolves the right credential server-side; agent code never receives the key. Teams that need stricter separation can restrict a workspace to its own credentials so shared account credentials never reach it.

## About the Reducto integration

Agents can upload documents and use Reducto to parse, classify, extract structured data, split, and edit them. Both synchronous and asynchronous operations are supported, along with job management and webhook configuration. The integration is `guildai~reducto`.

## Authentication

* **Type:** API key
* **Header:** Guild sends the key as a bearer token in the `Authorization` header

### Setup

**1. Connect Reducto**

In Guild, go to **Access & setup > Credentials**, click **Connect**, select **reducto**, and paste the key into **API Key**.

See [Credentials](https://docs.guild.ai/platform/credentials.md) for workspace, member, and agent-scoped credentials.

## Usage

```typescript theme={null}
import { ReductoTools } from "@guildai-services/guildai~reducto"
import { llmAgent } from "@guildai/agents-sdk"

export default llmAgent({
  systemPrompt: "You work with Reducto.",
  tools: { ...ReductoTools },
})
```

### Selecting specific tools

Tools are named with the `reducto_` prefix. Use [`pick()`](https://docs.guild.ai/sdk/tools#selecting-specific-tools) to include only what your agent needs.

## Tools

Tools in the latest published version of `guildai~reducto`:

| Tool | What it does |
| - | - |
| `reducto_async_parse_parse_async_post` | Async Parse |
| `reducto_cancel_job_cancel_job_id_post` | Cancel Job |
| `reducto_classify_async_classify_async_post` | Async classify endpoint. |
| `reducto_classify_classify_post` | Classify |
| `reducto_delete_parse_job_job_job_id_delete` | Asynchronously delete a job's stored artifacts. |
| `reducto_delete_uploaded_file_upload_file_id_delete` | Delete a previously uploaded file. |
| `reducto_edit_async_edit_async_post` | Edit Async |
| `reducto_edit_edit_post` | Edit |
| `reducto_extract_async_extract_async_post` | Extract Async |
| `reducto_extract_extract_post` | Extract |
| `reducto_get_jobs_jobs_get` | Get Jobs |
| `reducto_get_version_version_get` | Get Version |
| `reducto_parse_parse_post` | Parse |
| `reducto_pipeline_async_pipeline_async_post` | Pipeline Async |
| `reducto_pipeline_pipeline_post` | Pipeline |
| `reducto_retrieve_parse_job_job_id_get` | Retrieve Parse |
| `reducto_split_async_split_async_post` | Split Async |
| `reducto_split_split_post` | Split |
| `reducto_upload_upload_post` | Upload |
| `reducto_webhook_portal_configure_webhook_post` | Webhook Portal |

## Frequently asked questions

> [accordion] Can I limit an agent to only reading job status without letting it delete files?
>
> Yes. Write a credential policy with ALLOW rules covering reducto\_get\_jobs\_jobs\_get and reducto\_retrieve\_parse\_job\_job\_id\_get, and DENY rules for reducto\_delete\_parse\_job\_job\_job\_id\_delete and reducto\_delete\_uploaded\_file\_upload\_file\_id\_delete. Guild's proxy enforces these rules before the request reaches Reducto. See [Credential policies](https://docs.guild.ai/platform/credential-policies.md).

> [accordion] Does Guild emit webhook events when a Reducto job finishes?
>
> No. The catalog entry for `guildai~reducto` lists no webhook events. Agents can configure Reducto's own webhook delivery using the reducto\_webhook\_portal\_configure\_webhook\_post tool, but Guild does not emit its own events for Reducto job state changes.

> [accordion] Can different agents use different Reducto accounts in the same workspace?
>
> Yes. Connect a dedicated credential on each installed agent's detail page, or grant a member credential to a specific agent. Guild picks credentials in a defined order, with agent-level credentials taking priority over workspace and account defaults. See [Credentials](https://docs.guild.ai/platform/credentials.md).

> [accordion] Do agents see the Reducto API key at runtime?
>
> No. Guild stores the key and injects it as a bearer token in the Authorization header server-side through the credential proxy. The key is never passed to agent code.

## Put a governed agent on Reducto document processing today

> [card] [Book a demo](https://guild-ai.cal.com/gtm/meeting-with-guild.ai)
>
> See how teams govern agents that use Reducto.

> [card] [Talk to sales](https://guild.ai/talk-to-sales)
>
> Get access to Guild, then connect Reducto to your first agent.

## Related

**Also runs on Guild:** [Airtable](https://docs.guild.ai/integrations/airtable.md) · [AssemblyAI](https://docs.guild.ai/integrations/assemblyai.md) · [BigQuery](https://docs.guild.ai/integrations/bigquery.md) · [Chroma](https://docs.guild.ai/integrations/chroma.md)

**Read:** Docs: [Credential policies](https://docs.guild.ai/platform/credential-policies.md) · [Credentials](https://docs.guild.ai/platform/credentials.md) · [Tools in agents](https://docs.guild.ai/sdk/tools.md)
