Writing guides through MCP
Use a User MCP connection approved for an Organization with TypeOrb access. Select that Organization when calling a tool. A named Anydayway Agent connection keeps its Anydayway permissions and cannot operate TypeOrb writing guides. See MCP connection and consent for reconnecting to the shared backend.
Create a writing guide
Call context_create with organizationId, type, title, context, and
main where needed. Supported types include persona, style, and audience.
For a style based on your writing, supply actual writing samples and set
enhanceWithAI: true. A prepared platform style uses stylePresetId and saves
immediately without background generation.
Members with writing access create and change their own guides. A Fully managed Member’s setup is read-only: a manager handles guide changes, profile-based setup and Audience generation. LinkedIn account connection remains available through the account connection flow. Organization owners and
admins can pass memberId or pageId to set up that author or Page. A removed,
closed or unavailable author, or an archived Page, cannot start guide generation.
Background generation returns the saved guide. Use onboarding_get_state to
check whether the Member's persona and style are ready. Do not repeatedly start
the same task while it is queued or running.
Set up guides from LinkedIn
Call context_start_linkedin_onboarding with organizationId and linkedinUrl.
It returns a jobId while profile and style setup runs. Successful setup saves the profile, style and optional Audiences and marks the initiating account’s onboarding complete. Model requests keep the initiating Member and selected Organization, including when a manager creates another author’s guide. Check
onboarding_get_state for the resulting guides. An in-progress request is reused only for the same profile URL, Organization and current approval. Separate URLs or Organizations create separate setup requests.
context_generate_audiences accepts organizationId and personaId to generate
optional Audiences for the signed-in Member from an accessible persona and the
Organization's ICP. This call runs to completion.
Changed access or consent
Queued guide and LinkedIn setup work checks the current Member, Product access, provider approval and selected Organization consent before generation. A changed or revoked approval stops that queued work. Approve the intended connection again and start a new request; a fresh consent does not automatically authorize an older queued request. Access checks also apply before completion notifications.
A new background guide request keeps the text and samples saved at creation. Changing the guide while that request runs prevents it from overwriting your edits. A queue outage can delay the saved request; check its state before creating another guide. If the model call’s outcome is uncertain, generation stops and is not automatically repeated. Review the saved guide and explicitly start fresh generation if needed. Older unfinished requests without a dispatch record also require fresh generation. Refresh setup after changing author or Page access, and keep independent edits before retrying a failed task.
Queued guide enhancement checks that the Organization still has the same eligible TypeOrb access period before each model call and before saving the result. A new access period does not resume work from an earlier period. After access changes, review the saved guide and explicitly start a fresh generation if needed. Older unfinished requests without this access record also require fresh generation.
Queued guide generation stops while workspace content is being deleted. Restoring Product access does not resume that work; start fresh generation once the workspace is available again.
Supply a fresh UUID in optional requestId for each intended Audience generation.
Keep that ID on retries of the same inputs and approval: completed work can be
reused without another model call or duplicate Audiences. Changed inputs or
access require a fresh request. An uncertain model request is not sent again
under the same ID. Refresh the resulting guide list before explicitly starting
fresh; a new ID can incur new usage. Audiences save as one batch, and intervening
Persona or ICP edits are preserved. See Writing guides API.
Direct guide creation and regeneration
Model-assisted guide creation, enhancement and regeneration use the original Organization, author or Page, samples, guide revision and eligible TypeOrb access period. Changing permissions or access while generation runs stops the save. Editing the guide during generation preserves that edit instead of replacing it with the older result. The generated guide and summary save together.
After an error, refresh the guide and check its current text before deliberately
starting again. Direct generation does not accept the Audience operation's
requestId: a separate call starts separate work and may incur more usage.
An uncertain provider outcome is retained and is not automatically sent again.