# create_listing_draft

**Draft a listing from the broker's own file** · Live · Free. See [all MCP tools](/reference/mcp).

Nothing leaves Acquestor from this call alone: what it saves waits for the member to confirm it on acquestor.com.

## Result

Captured from the docs' test data, whose clock reads October 5, 2026, calling as a broker's AI host on `/mcp/broker`. The result is the same on each path. IDs are placeholders. Arguments:

```json
{
  "kind": "csv",
  "filename": "listings.csv",
  "content_base64": "WF9IZWFkbGluZSxYX05BSUNTQ29kZSxDaXR5LFN0YXRlT3JQcm92aW5jZSxMaXN0UHJpY2UKUGx1bWJpbmcgc2VydmljZSBjb21wYW55LDIzODIyMCxXYWNvLFRYLDY1MDAwMAo="
}
```

Text:

````markdown
**Draft a listing from the broker's own file**

```json
{"id":"00000000-0000-4000-8000-000000000001","kind":"csv","status":"done","draft_listing_ids":["00000000-0000-4000-8000-000000000002"],"row_errors":[],"flags":[]}
```

Information, not advice. Check it with your lender, CPA or attorney before you rely on it. Acquestor doesn't represent buyers or sellers.
````

`structuredContent`:

```json
{
  "id": "00000000-0000-4000-8000-000000000001",
  "kind": "csv",
  "status": "done",
  "draft_listing_ids": [
    "00000000-0000-4000-8000-000000000002"
  ],
  "row_errors": [],
  "flags": []
}
```

## Inputs

The input schema the server lists. Every input is a flat field. Every object is closed with `additionalProperties: false`.

| Input | Type | Required | Rules | Description |
| --- | --- | --- | --- | --- |
| `kind` | string | yes | one of `csv`, `file` | csv: rows in the template columns; file: the broker's own teaser, CIM or financial summary (PDF or text). |
| `filename` | string | yes |  | File name; its extension sets the type unless `mime` is sent. |
| `content_base64` | string | yes | up to 14,000,000 characters | The file in base64, up to 10 MB. |
| `mime` | string | no |  | The file's media type, such as application/pdf; defaults to one read from the file name. |

## For client developers

What the host’s model reads:

> Drafts listings from the broker's own teaser or CIM, citing pages, or from a template CSV. Use it to start a listing; to read a live one, use search_listings with its listing_id. A draft never goes live without the broker's approval on acquestor.com.

| | |
| --- | --- |
| Runs | `POST /listing-imports` (importListings) |
| Who | Brokers |
| Endpoint paths | `/mcp/broker` |
| Scope | `listings:write` |
| Price | Free |
| Risk | reversible write: read-only no, destructive no, idempotent no, open-world no |
| Output | `structuredContent` is the result; the text gives the same fields as JSON under a heading, with the notes the result carries. |
| Output schema | Declared: The outputSchema lists the top-level fields of structuredContent and their types, generated from the response schema in the API definition; none is required, so a result with only gaps still validates (API 0.6.0). |
| Definition cost | 220 tokens (o200k_base) for its name, description and input schema, measured on the definition captured from the server, which the docs tests hold to this build's code (2026-11-12) |
| Eval cases | M03 |

Generated on 2026-11-12 from the API definition and this tool's card; the definition, result and errors on this page were captured from the server.

## Bounds

A result counts its text and `structuredContent` together against a default of 6,000 tokens and a hard cap of 25,000. Nulls and internal fields are left out, and `structuredContent` leaves out the card the text already is.

create_listing_draft returns one record or the outcome of one write. A list inside it is cut only when that brings the result inside the default, and the result then says what it left out; anything still over the cap loses the end of its text and names a narrower call.

No cut result is captured for this tool.

## Errors

A failed call returns `isError: true`. The text opens with the stable code, then says what went wrong, whether retrying the same call can succeed, and the request ID; `structuredContent` is the problem object, and `_meta` repeats the code and request ID. Each error below was captured from the server; the code links to its problem page.

| Code | Captured by | Next call |
| --- | --- | --- |
| [`invalid_input`](/problems/invalid_input) | Calling it as a broker's AI host on `/mcp/broker` | Call again with `kind` set to one of the values the input schema lists, exporting the file to that format first. |
| [`missing_input`](/problems/missing_input) | Calling it as a broker's AI host on `/mcp/broker` | Call create_listing_draft again with every field `missing` names. Acquestor never fills a required input with a default it can't source. |
| [`insufficient_scope`](/problems/insufficient_scope) | Calling it as a broker's API key with no scopes on `/mcp/broker` | Reconnect with a key or sign-in that carries `listings:write`, then call create_listing_draft again. |
| [`forbidden_role`](/problems/forbidden_role) | Calling it as a buyer's AI host on `/mcp/broker` | None; create_listing_draft is for the roles listed above. Nothing ran and nothing was charged. |
| [`tool_moved`](/problems/tool_moved) | Calling it as a broker's AI host on `/mcp` | Refresh the tool list and call the tool the error names, on the endpoint path it names. |
| [`tool_moved`](/problems/tool_moved) | Calling it as a broker's AI host on `/mcp/readonly` | Refresh the tool list and call the tool the error names, on the endpoint path it names. |
| [`beta_terms_not_accepted`](/problems/beta_terms_not_accepted) | Not captured. The member hasn't accepted the beta agreement on acquestor.com. | Give the person the error's `accept_url`; once they accept the beta agreement there, call create_listing_draft again. |
| [`quota_exhausted`](/problems/quota_exhausted) | Not captured. The broker has used the month's quota of listing drafts from files. | Wait until the time `detail` names, or enter the listings with the form or a CSV on acquestor.com. |
| [`file_too_large`](/problems/file_too_large) | Not captured. The file in `content_base64` is over the size listing imports accept. | Split the file and call create_listing_draft once for each part. |

Without a credential the server answers HTTP 401 before any tool runs, with a `WWW-Authenticate` header that points the host at sign-in ([`unauthorized`](/problems/unauthorized)).

### `invalid_input`

Arguments:

```json
{
  "kind": "spreadsheet",
  "filename": "listings.xlsx",
  "content_base64": "UEsDBA=="
}
```

Text:

```text
invalid_input: Invalid arguments for tool create_listing_draft: data/kind must be equal to one of the allowed values. Check the tool's input schema for each field's type. Retrying the same call unchanged will fail the same way. Request ID req_00000000000000000000000000000001.
```

### `missing_input`

Arguments:

```json
{}
```

Text:

```text
missing_input: The call needs kind, filename, content_base64; Acquestor never fills a required input with a default it can't source. Missing: kind, filename, content_base64. Retrying the same call unchanged will fail the same way. Request ID req_00000000000000000000000000000001.
```

### `insufficient_scope`

Arguments:

```json
{
  "kind": "csv",
  "filename": "listings.csv",
  "content_base64": "WF9IZWFkbGluZSxYX05BSUNTQ29kZSxDaXR5LFN0YXRlT3JQcm92aW5jZSxMaXN0UHJpY2UKUGx1bWJpbmcgc2VydmljZSBjb21wYW55LDIzODIyMCxXYWNvLFRYLDY1MDAwMAo="
}
```

Text:

```text
insufficient_scope: This call needs the listings:write scope. Retrying the same call unchanged will fail the same way. Request ID req_00000000000000000000000000000001.
```

### `forbidden_role`

Arguments:

```json
{
  "kind": "csv",
  "filename": "listings.csv",
  "content_base64": "WF9IZWFkbGluZSxYX05BSUNTQ29kZSxDaXR5LFN0YXRlT3JQcm92aW5jZSxMaXN0UHJpY2UKUGx1bWJpbmcgc2VydmljZSBjb21wYW55LDIzODIyMCxXYWNvLFRYLDY1MDAwMAo="
}
```

Text:

```text
forbidden_role: create_listing_draft is for broker accounts, and this account has none of those roles. Nothing ran. Retrying the same call unchanged will fail the same way. Request ID req_00000000000000000000000000000001.
```

### `tool_moved` on `/mcp`

Arguments:

```json
{
  "kind": "csv",
  "filename": "listings.csv",
  "content_base64": "WF9IZWFkbGluZSxYX05BSUNTQ29kZSxDaXR5LFN0YXRlT3JQcm92aW5jZSxMaXN0UHJpY2UKUGx1bWJpbmcgc2VydmljZSBjb21wYW55LDIzODIyMCxXYWNvLFRYLDY1MDAwMAo="
}
```

Text:

```text
tool_moved: create_listing_draft isn't served at /mcp. Add the /mcp/broker endpoint path to call it. Retrying the same call unchanged will fail the same way. Request ID req_00000000000000000000000000000001.
```

### `tool_moved` on `/mcp/readonly`

Arguments:

```json
{
  "kind": "csv",
  "filename": "listings.csv",
  "content_base64": "WF9IZWFkbGluZSxYX05BSUNTQ29kZSxDaXR5LFN0YXRlT3JQcm92aW5jZSxMaXN0UHJpY2UKUGx1bWJpbmcgc2VydmljZSBjb21wYW55LDIzODIyMCxXYWNvLFRYLDY1MDAwMAo="
}
```

Text:

```text
tool_moved: /mcp/readonly serves read-only tools, and create_listing_draft saves or sends. Add the /mcp/broker endpoint path to call it. Retrying the same call unchanged will fail the same way. Request ID req_00000000000000000000000000000001.
```

---

Source: https://docs.acquestor.com/reference/mcp/create_listing_draft

Help: support@acquestor.com · [Report a security problem](https://docs.acquestor.com/security)

Information, not advice. Acquestor doesn't represent buyers or sellers and takes no fee on any deal.

Not affiliated with or endorsed by the U.S. Small Business Administration. Claude, ChatGPT and Grok are trademarks of their owners. Fonts: Source Serif 4, Public Sans and Source Code Pro, SIL Open Font License.
