App Logo
docs.google.com

Google Docs: create a document

Automatically create a document on docs.google.com. Create a new Google Doc in the signed-in account's Drive, with a title and optional text, and return its id, link and the account it was created in. Each line of the text becomes a paragraph, added exactly as given (no automatic lists or curly quotes). When the browser is signed in to several Google accounts, pass the account to create it in; otherwise Google Docs picks one.

Input

title required

The document's title.

text optional

Text for the document's body. Each line becomes its own paragraph, added as given: quotes stay straight and lines starting with - or 1. stay plain text, not lists. Leave it out for an empty document.

account optional

Google account to create the document in when the browser is signed in to several. Without it, Google Docs picks the account itself (usually the one used last), and the result says which one it was.

Output

id required

The new document's id; pass it to get_document or append_text.

url required
text required

The document's body as read back, one line per paragraph.

title required

The title as read back from the document.

verified required

True when the document, read back, has the given title and text.

accountUsed required

Email of the Google account the document was created in.

FAQ

Create a new Google Doc in the signed-in account's Drive, with a title and optional text, and return its id, link and the account it was created in. Each line of the text becomes a paragraph, added exactly as given (no automatic lists or curly quotes). When the browser is signed in to several Google accounts, pass the account to create it in; otherwise Google Docs picks one.
Ask an AI agent connected to Reduck to run reduck/docs.google.com/create_document, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/docs.google.com/create_document
You do not need one. "Google Docs: create a document" drives the real docs.google.com pages in a browser, so it works whether or not docs.google.com offers an API for this.
Required: title. Optional: text, account.
It returns id, url, text, title, verified, accountUsed.
Yes. It acts as you on docs.google.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the docs.google.com cookies saved by the Reduck extension.
It makes changes on docs.google.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/docs.google.com/create_document, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/docs.google.com/create_document
It is part of Reduck's official curated catalogue.

Start building not clicking