English
shareagent/workspace/open
About 180 wordsLess than 1 minute
2026-09-11
Open the ShareAgent workspace panel, optionally creating a new conversation, sending a message, and invoking a skill or subAgent.
Parameters
Web
| Param | Type | Required | Description |
|---|---|---|---|
open | boolean | — | Whether to show the sidebar |
content | string | — | Text content |
variables | array | — | Variables |
autoSubmit | boolean | — | Whether to auto-submit |
subAgentApiName | string | — | subAgent API name |
skillApiName | string | — | skill API name |
conversationId | string | — | Conversation ID. An empty string means creating a new conversation; undefined or omitted means leaving the conversation unchanged |
Mobile
| Param | Type | Required | Description |
|---|---|---|---|
content | string | — | Text content |
variables | array | — | Variables |
autoSubmit | boolean | — | Whether to auto-submit |
subAgentApiName | string | — | subAgent API name |
skillApiName | string | — | skill API name |
conversationId | string | — | Conversation ID. Omitted means creating a new conversation |
Return Value
Action-only — no return value.
Examples
// Open the Web sidebar and send a message
window.dashboard.callAppLink({
action: 'shareagent/workspace/open',
params: {
open: true,
content: 'Hello',
variables: [],
autoSubmit: true,
subAgentApiName: '',
skillApiName: '',
conversationId: ''
}
});// Open the mobile workspace and send a message
FxUI.biz.callAppLink('shareagent/workspace/open', {
content: 'Hello',
variables: [],
autoSubmit: true,
subAgentApiName: '',
skillApiName: '',
conversationId: ''
}).then((res) => {
if (res.success) {
console.log('success');
} else {
console.log(res.error);
}
});