Yuanbao API guide

yuanbao.tencent.com

Yuanbao lets you start new chats, send prompts with optional web search, and reopen recent conversations to read past replies.

Actions and inputs

yuanbao new

Start a new conversation.

yuanbao ask

Send a prompt and wait for the reply.

Inputs Prompt; optional timeout, web search, and deep thinking

yuanbao history

List recent conversations from the sidebar.

Inputs Optional limit

yuanbao detail

Open a specific conversation and read its messages.

Inputs Agent ID and conversation ID as a slash-separated pair

Conversations

Create

Start a conversation in your account by sending an initial prompt.

Inputs Prompt, optional web search and deep thinking settings

Read

Open a conversation from your recent history and read its messages.

Inputs Conversation URL or sidebar entry

Update

Continue your conversation by sending a follow-up without changing earlier messages.

Inputs Conversation, follow-up prompt

Delete

Delete your own conversation using its history menu after confirming the selection.

Inputs Conversation, confirmation