# Default tools for the hosted Patchworks MCP server

## Introduction

The hosted Patchworks MCP server includes a default set of tools that are ready to use. These tools are summarised here, in the following categories:

* [Flow management](#flow-management)
* [Data pools](#data-pools)
* [Marketplace](#marketplace)
* [Troubleshooting](#troubleshooting)
* [Utility](#utility)

## Flow management

<table><thead><tr><th width="302.65625">Tool</th><th>Summary</th></tr></thead><tbody><tr><td>get_all_flows</td><td>List flows from the Core API.</td></tr><tr><td>get_flow_runs</td><td>Query flow runs (filter by status; started_after; sort; includes).</td></tr><tr><td>get_flow_run_logs</td><td>Retrieve logs for a specific flow run (optionally with payload IDs).</td></tr><tr><td>start_flow</td><td>Trigger a flow run via the Start service (/flows/{id}/start).</td></tr></tbody></table>

## Data pools

<table><thead><tr><th width="311.86328125">Tool</th><th>Summary</th></tr></thead><tbody><tr><td>list_data_pools</td><td>List all data (dedupe) pools.</td></tr><tr><td>get_deduped_data</td><td>Retrieve deduplicated data for a specific pool.</td></tr></tbody></table>

## Marketplace

<table><thead><tr><th width="312.76953125">Tool</th><th>Summary</th></tr></thead><tbody><tr><td>get_marketplace_apps</td><td>List marketplace blueprints from the Patchworks marketplace.</td></tr><tr><td>get_marketplace_app</td><td>Get details of a specific marketplace blueprint by ID.</td></tr></tbody></table>

## Troubleshooting

<table><thead><tr><th width="307.2421875">Tool</th><th>Summary</th></tr></thead><tbody><tr><td>summarise_failed_run</td><td>Summarise what went wrong in a failed run.</td></tr><tr><td>triage_latest_failures</td><td>Fetch recent failed runs and return a compact summary.</td></tr><tr><td>download_payload</td><td>Download payload bytes for a given payload metadata ID (base64).</td></tr></tbody></table>

## Utility

<table><thead><tr><th width="307.2421875">Tool</th><th>Summary</th></tr></thead><tbody><tr><td>example_get_all_flows</td><td>Example demonstrating tool definition patterns.</td></tr><tr><td>list_tools</td><td>List all available tools in this MCP server.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.wearepatchworks.com/product-documentation/developer-hub/patchworks-mcp/patchworks-mcp-hosted/default-tools-for-the-hosted-patchworks-mcp-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
