Where the ids come from
list_folders turns a folder name into
the folder_id the other tools take: { "query": "launch" } finds the
folder, with its path so two folders with one name can be told apart.
Opening it ({ "folder_id": "<id>" }) shows its subfolders and sessions.
Ids also arrive on list_documents
rows; the full table is in
IDs for other things.
Review everything in a folder
Go through the Launch folder and tell me what’s out of date.
list_folderswithquery: "Launch", then again with the matchingfolder_idto see its subfolders, sessions and document count.list_documentswith thatfolder_id, followingnext_cursoruntil it isnull.read_documenteach one, andadd_commentwhere something is stale instead of editing.
folder_id.
Summarise what we know about Acme into a doc in the launch folder
Pull together what we have on the Acme sandbox timeline and write it up as a document in the launch folder.
list_folderswithquery: "launch"to resolve the folder’sfolder_id.ask_knowledgefor a sourced answer, thensearch_knowledgefor the passages worth quoting.list_documentswithfolder_idto check nothing similar exists.create_documentwithfolder_id,content_markdownand anidempotency_key. The folder’s members can reach it straight away.
document_id values the knowledge tools return identify
ingested sources, not necessarily Sidecars documents. Pass only ids from
list_documents or a create to the document tools.
To write the doc into a session instead, pass the session’s session_id (the
last part of its URL, /sessions/<id>) in place of folder_id: the
card is posted to the session, and everyone who can open it can reach the
document.
Update the Risks section of the Q3 plan
In the Q3 launch plan, update the Risks section: the vendor SDK now has a GA date of 1 October, and add the Northwind contract as a risk.
read_document; keepversion.edit_documentwithmode: "replace_section", asection_excerptquoted exactly from the read, andexpected_version.- Read the result:
kept_blocksmeans someone edited nearby while the agent wrote, and their text was kept.
excerpt_not_found and the
nearest candidates. The agent re-reads and quotes one exactly; a failed
replace is never turned into an append.
Review this doc and leave comments, don’t edit it
Review the Q3 launch plan and leave comments where the dates don’t line up with the kickoff notes. Don’t change the text.
read_documentandread_comments. Therolein the comments result says whether commenting is allowed at all.add_commentwith ananchor_excerptfor each finding, so the thread attaches to the passage.resolve_commentlater, once a thread is addressed.
anchored in the result.
Rebuild the rollout page with December GA
The rollout timeline page still says GA in November. Change it to 2 December and keep everything else.
read_page; keepversion.write_pagewith the full new HTML andexpected_version.
version_conflict, the current version and a line diff. The
agent merges onto the current page and writes again. There is no force flag.
Export the plan as a PDF for the board
Give me the Q3 launch plan as a PDF.
export_documentwithformat: "pdf".- Fetch
download_urlwithin 15 minutes.
source_version. After further edits, export
again; an unchanged version is served from cache.
Put the doc I just copied into context
Here’s a doc from Sidecars. Use the latest saved version if you can reach it. (pasted: a Copy for agent handoff)
- Read the
Artifact IDline from the handoff. read_documentwith that id for the latest saved content andversion.- If the handoff carries the
UNSAVED CHANGESblock, the snapshot holds edits the server never saw, and the server copy may have moved on too. Merge the snapshot’s edits onto the live version and write with the liveversion; onversion_conflict, read and merge again.