bodyobject · requiredBounded request body sent to the connected application.
Apply an atomic batch of content or formatting changes to a Google Docs document.
by Google DriveRequires connected account$0.0025 per request · $0.25 per 100 requests
“Add the line “Created and edited by a Scrollport agent for Google OAuth verification.” to the top of my doc.”
This result reads best as JSON. Open it below.
Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.
{
"tool_id": "google-drive.document-update",
"input": {
"body": {
"requests": [
{
"insertText": {
"text": "Created and edited by a Scrollport agent for Google OAuth verification.\n",
"location": {
"index": 1
}
}
}
]
},
"path": {
"documentId": "YOUR-GOOGLE-DRIVE-FILE-ID"
}
}
}{
"replies": [
{}
],
"documentId": "1AbCdEfGhIjKlMnOpQrStUvWxYz",
"writeControl": {
"requiredRevisionId": "revision-output-id"
}
}Copy the prompt and paste it into your agent, then tell it what you need.
Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Document Update (tool ID: google-drive.document-update). Ask me for the details you need, then show me the result. Help me connect the required app account if needed.
Your agent will also help you connect your app account the first time.
No agent yet? Create your account on the web and connect one from your dashboard later.
Scrollport has no free tier: it costs $0.0025 per request ($0.25 per 100 requests), paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.
Yes. It works in the Google account you connect to Scrollport, with the access you approve. Scrollport does not provide Google accounts.
Applies up to 100 Google Docs batchUpdate operations atomically, including inserting, replacing, deleting or formatting document content. It cannot delete the Drive file or change sharing. Always one upstream request at $0.0025.
bodyobject · requiredBounded request body sent to the connected application.
pathobject · requiredIdentifier path for the authorised connected-app record.
documentIdstringrepliesarrayReplies to the post.
writeControlobjectconnection_required: This capability acts on your own Google Drive, which isn't connected yet.Open connect_url, approve Google Drive read and write access, then retry this run unchanged.invalid_input: Google Docs rejected one or more update requests or the revision precondition.Read the document first, use its current indexes and revision id, then submit a bounded batchUpdate request.