apply_doc_bullets

Convert paragraphs in a range into a bulleted or numbered list.

writeGoogle Sheets, Docs & Drive

Each existing paragraph (separated by '\n') becomes one list item. To add a new list, write_doc_structured's bullets / numbered block inserts and bullets the lines in one call; use this tool on paragraphs already in the document.

Call it

In an AI client (MCP)

tools/call
{
  "name": "apply_doc_bullets",
  "arguments": {
    "documentId": "<documentId>",
    "startIndex": 1,
    "endIndex": 1
  }
}

From code (Tool API)

curl -X POST https://api.sellersheetai.com/api/v1/tools/apply_doc_bullets \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"documentId":"<documentId>","startIndex":1,"endIndex":1}'
Early access — the Tool API is open on request, contact us.

Arguments

NameTypeDescription
documentIdrequiredstringthe Google Docs document ID.
startIndexrequiredintegerRange start (inclusive).
endIndexrequiredintegerRange end (exclusive).
presetstringa Docs API bulletPreset, e.g. BULLET_DISC_CIRCLE_SQUARE, BULLET_CHECKBOX, BULLET_STAR_CIRCLE_SQUARE, NUMBERED_DECIMAL_ALPHA_ROMAN, NUMBERED_DECIMAL_NESTED, NUMBERED_UPPERALPHA_ALPHA_ROMAN. Default: BULLET_DISC_CIRCLE_SQUARE.Default: "BULLET_DISC_CIRCLE_SQUARE"

Result

Every tool answers {notification, data, human_action}; data carries:

  • { bulleted: true }

Gotchas

  • Leading tabs set each paragraph's nesting level and are removed by the call, so indices after the range shift — re-read with find_doc_text or get_doc before the next index-based edit.

On this page

Actions

View as Markdown

Ask an assistant

Ask ChatGPTAsk Claude