Identify User Intent: — Determine the desired action (create, edit, search, download) and the target document.
2
Determine Document Type & Token: — Extract the token from the URL and identify the document type (docx, doc, sheet, wiki). For wiki, resolve the actual `obj_token` using `wiki.spaces.get_node`.
3
Select Appropriate Command: — Choose the correct `lark-cli docs +<verb>` command based on the user's intent and document type.
4
Construct Command Parameters: — Prepare the necessary parameters for the chosen command, including tokens, content, and file paths.
5
Execute Command: — Run the `lark-cli` command with the constructed parameters.
6
Handle Response: — Parse the response from the `lark-cli` command and provide relevant feedback to the user (e.g., document URL, download location).
7
(If needed) Switch to other skill: — If the user asks to manipulate the document content, switch to `lark-sheets` or `lark-whiteboard`.
create a Lark documentedit a Feishu documentsearch for a spreadsheet in Larkfind a document by nameupdate a cloud documentinsert an image into a documentdownload a file from a documentfind a tablesearch for a report