MCPcopy Create free account

hub / github.com/modelscope/ms-agent / functions

Functions2,117 in github.com/modelscope/ms-agent

↓ 3 callersMethodconvert_message
(role: Literal['assistant', 'tool'], round_message: Dict[str, Any])
ms_agent/llm/openai.py:208
↓ 3 callersMethodcreate_request
(self, search_request_d: Dict[str, Any])
ms_agent/tools/search/search_request.py:30
↓ 3 callersFunctioncreate_user_workdir
Create dedicated working directory for user
ms_agent/app/doc_research.py:209
↓ 3 callersMethoddeep_research
Perform deep research on a query with controlled concurrency. Args: query: Research query breadth: Number of search q
ms_agent/workflow/deep_research/research_workflow_beta.py:706
↓ 3 callersMethoddefine_args
Define args for the ui command.
ms_agent/cli/ui.py:28
↓ 3 callersMethoddisconnect
Disconnect a client
webui/backend/websocket_handler.py:41
↓ 3 callersMethoddiscover_projects
Discover all available projects
webui/backend/project_discovery.py:21
↓ 3 callersFunctionextract_code_blocks
Extract code blocks from the given text. ```py:a.py Args: text: The text to extract code blocks from. target_filename: The f
projects/fin_research/callbacks/file_parser.py:5
↓ 3 callersMethodgenerate_image
(self, positive_prompt, negative_prompt=None,
ms_agent/tools/image_generator/image_gen.py:54
↓ 3 callersMethodget_llm_config
Get LLM configuration
webui/backend/config_manager.py:133
↓ 3 callersFunctionget_session_file_path
Get user-specific session file path
ms_agent/app/doc_research.py:1050
↓ 3 callersFunctionget_session_root
(session_id: str)
webui/backend/api.py:24
↓ 3 callersMethodget_tools
(self)
ms_agent/tools/mcp_client.py:92
↓ 3 callersFunctionget_user_workdir_path
(user_id: str)
ms_agent/app/fin_research.py:357
↓ 3 callersMethodload_scripts
Load specific scripts by name, or all if names is None. Args: names: List of script names to load, or None for all.
ms_agent/skill/schema.py:491
↓ 3 callersMethodprocess
(self, messages: List[Message])
webui/backend/deep_research_eventizer.py:298
↓ 3 callersFunctionread_markdown_report
(workdir: str, filename: str)
ms_agent/app/fin_research.py:936
↓ 3 callersMethodrefresh_file_status
(self, file_relation)
projects/code_genesis/workflow/coding.py:743
↓ 3 callersFunctionrender_markdown_todo
Render a Markdown todo list nicely in terminal using Rich. - Cross-platform (Windows/Linux/macOS) - Good-looking: theme + panel + soft wr
ms_agent/utils/utils.py:779
↓ 3 callersFunctionresolve_user_id_for_request
Return (is_ok, user_id_or_error).
ms_agent/app/fin_research.py:345
↓ 3 callersMethodrun
Run skill retrieval and execute the resulting DAG in one call. Combines get_skill_dag() and execute_dag(). Uses progressive
ms_agent/skill/auto_skills.py:1871
↓ 3 callersMethodrun
(self, inputs, **kwargs)
ms_agent/app/fin_research.py:2006
↓ 3 callersMethodsave
Save all modified XML files to disk and copy to destination directory. This persists all changes made via add_comment() and reply_to
examples/skills/claude_skills/docx/scripts/document.py:860
↓ 3 callersMethodsystem
(self)
ms_agent/agent/llm_agent.py:597
↓ 3 callersMethodto_dict
Convert SkillFile to dictionary representation. Returns: Dictionary containing file information
ms_agent/skill/schema.py:51
↓ 2 callersMethod_add_to_comments_extended_xml
Add a single comment to commentsExtended.xml.
examples/skills/claude_skills/docx/scripts/document.py:1092
↓ 2 callersMethod_add_to_comments_extensible_xml
Add a single comment to commentsExtensible.xml.
examples/skills/claude_skills/docx/scripts/document.py:1119
↓ 2 callersMethod_add_to_comments_ids_xml
Add a single comment to commentsIds.xml.
examples/skills/claude_skills/docx/scripts/document.py:1107
↓ 2 callersMethod_add_to_comments_xml
Add a single comment to comments.xml.
examples/skills/claude_skills/docx/scripts/document.py:1070
↓ 2 callersMethod_analyze_messages
Analyze incoming messages against cache. Returns: should_add_messages: blocks to add (not in cache or hash changed)
ms_agent/memory/default_memory.py:381
↓ 2 callersMethod_analyze_query
Analyze user query to determine if skills are needed. Args: query: User's original query. Returns:
ms_agent/skill/auto_skills.py:1284
↓ 2 callersMethod_build_agent
(self, spec: _AgentToolSpec)
ms_agent/tools/agent_tool.py:417
↓ 2 callersMethod_build_env
(self, field: str, inherit: bool = False)
ms_agent/tools/code/local_code_executor.py:307
↓ 2 callersFunction_build_sub_agent
(spec: _AgentToolSpec, default_trust_remote_code: bool)
ms_agent/tools/agent_tool.py:72
↓ 2 callersMethod_call_llm_for_continue_gen
Prepares and calls the LLM for continuation when the response is unfinished. If the previous message marked as unfinished, it will be updated
ms_agent/llm/openai_llm.py:471
↓ 2 callersMethod_check_directory
(self, directory: str, language: str)
ms_agent/tools/code_server/lsp_code_server.py:667
↓ 2 callersMethod_cleanup
(self, session_id: str)
webui/backend/deep_research_worker_manager.py:200
↓ 2 callersFunction_coerce_str
(value: Optional[bytes])
ms_agent/tools/code/local_code_executor.py:30
↓ 2 callersMethod_comment_range_end_xml
Generate XML for comment range end with reference run. Note: w:rsidR is automatically added by DocxXMLEditor.
examples/skills/claude_skills/docx/scripts/document.py:1137
↓ 2 callersMethod_comment_range_start_xml
Generate XML for comment range start.
examples/skills/claude_skills/docx/scripts/document.py:1133
↓ 2 callersMethod_compute_title_relevance
Compute relevance score between query and title. Args: query: Search query string title: Result title
ms_agent/tools/search/content_optimizer.py:667
↓ 2 callersMethod_convert_date
Convert date to AKShare format
ms_agent/tools/findata/akshare_source.py:66
↓ 2 callersMethod_drain_process_event_queue
( event_queue: Any, on_event: Callable[[Dict[str, Any]],
ms_agent/tools/agent_tool.py:496
↓ 2 callersMethod_emit_assistant_completed
(self, message_id: str, content: str)
webui/backend/deep_research_eventizer.py:216
↓ 2 callersMethod_ensure_output_dir
(self)
projects/deep_research/v2/callbacks/searcher_callback.py:66
↓ 2 callersMethod_ensure_w14_namespace
Ensure w14 namespace is declared on the root element.
examples/skills/claude_skills/docx/scripts/document.py:109
↓ 2 callersMethod_estimate_message_tokens_from_content
Heuristic token count from message body (no API usage fields).
ms_agent/memory/condenser/context_compressor.py:66
↓ 2 callersMethod_execute_command
Execute a single command from progressive analysis. Args: cmd: Command dictionary. cmd_type: Type of command
ms_agent/skill/auto_skills.py:716
↓ 2 callersMethod_execute_single_skill
Execute a single skill with dependency-linked input. Uses progressive analysis if enabled: 1. Analyze skill to create execut
ms_agent/skill/auto_skills.py:550
↓ 2 callersMethod_execute_with_config
(self)
ms_agent/cli/run.py:171
↓ 2 callersMethod_extract_cache_info
Extract cache info from an OpenAI-compatible usage object. Returns: tuple: (cached_tokens, cache_creation_input_tokens)
ms_agent/llm/openai_llm.py:226
↓ 2 callersMethod_extract_description
Extract first paragraph from README as description
webui/backend/project_discovery.py:129
↓ 2 callersMethod_extract_preview_frames_static
(video_path, segment_id, work_dir, cur_check_round)
projects/singularity_cinema/render_animation/render_manim.py:386
↓ 2 callersMethod_extract_text_content
Extract text content from Word XML, preserving paragraph structure. Empty paragraphs are skipped to avoid false positives when tracked
examples/skills/claude_skills/docx/ooxml/scripts/validation/redlining.py:253
↓ 2 callersMethod_extract_tool_args_raw
(self, call: ToolCall)
webui/backend/deep_research_eventizer.py:104
↓ 2 callersMethod_extract_tool_name
(self, call: ToolCall)
webui/backend/deep_research_eventizer.py:93
↓ 2 callersMethod_fetch_content_async
Async wrapper for content fetching.
ms_agent/tools/search/websearch_tool.py:713
↓ 2 callersMethod_filter_and_rank
Filter candidates by minimum score and return top_k results. Args: candidates: List of candidate dicts with 'text' and '
ms_agent/retriever/hybrid_retriever.py:334
↓ 2 callersMethod_filter_skills
Filter skills based on relevance to the query. Args: query: User's query. skill_ids: Set of candidate skill_
ms_agent/skill/auto_skills.py:1339
↓ 2 callersMethod_fuse_and_normalize_scores
Normalize scores using Z-score, fuse with weighted sum, and map to [0, 1]. Args: raw_dense_scores: Raw dense retrieval s
ms_agent/retriever/hybrid_retriever.py:300
↓ 2 callersMethod_generate_env_setup
Generate Python code to setup environment variables and paths.
ms_agent/skill/container.py:1035
↓ 2 callersMethod_generate_root_tsx
Generate Root.tsx with dynamic scale support
projects/singularity_cinema/render_animation/render_remotion.py:308
↓ 2 callersMethod_get_embeddings
(self, texts: List[str])
ms_agent/retriever/hybrid_retriever.py:217
↓ 2 callersMethod_get_money_supply_data_month
( self, start_date: Optional[str] = None, end_date: Optional[str] = None)
ms_agent/tools/findata/akshare_source.py:669
↓ 2 callersMethod_get_or_create_server
Get or create an LSP server for the given language
ms_agent/tools/code_server/lsp_code_server.py:645
↓ 2 callersMethod_get_python_executable
Get the Python executable for the current platform.
ms_agent/skill/container.py:593
↓ 2 callersMethod_get_repo_root
(self)
webui/backend/deep_research_worker_manager.py:22
↓ 2 callersMethod_get_template
(self, key: str)
projects/deep_research/v2/callbacks/researcher_callback.py:127
↓ 2 callersMethod_has_override
Check if an override with given part name exists.
examples/skills/claude_skills/docx/scripts/document.py:1167
↓ 2 callersMethod_has_relationship
Check if a relationship with given target exists.
examples/skills/claude_skills/docx/scripts/document.py:1160
↓ 2 callersMethod_hash_block
Compute sha256 hash of a message block for comparison
ms_agent/memory/default_memory.py:361
↓ 2 callersMethod_init_corpus
Initialize corpus and build both Dense and Sparse indices. Args: corpus: List of document strings to index.
ms_agent/retriever/hybrid_retriever.py:179
↓ 2 callersFunction_is_punct
(tok: str)
projects/singularity_cinema/generate_subtitle/agent.py:21
↓ 2 callersMethod_is_reporter_tool_call
Check if this message contains a call to reporter_tool.
projects/deep_research/v2/callbacks/reporter_callback.py:345
↓ 2 callersMethod_llm_generate
Generate LLM response from prompt.
ms_agent/skill/auto_skills.py:127
↓ 2 callersMethod_load_evidence_index
Load evidence index.
projects/deep_research/v2/tools/report_tool.py:532
↓ 2 callersMethod_load_note_content
Load a single note's full content from markdown file.
projects/deep_research/v2/tools/report_tool.py:539
↓ 2 callersMethod_local_execute_python_code
Execute Python code locally. Args: code: Python code to execute. input_spec: Input specification. R
ms_agent/skill/container.py:642
↓ 2 callersMethod_log_callback_wrapper
Create a callback wrapper to capture search logs. The sirchmunk LogCallback signature is: (level: str, message: str, end: str, fl
ms_agent/knowledge_search/sirchmunk_search.py:178
↓ 2 callersMethod_merge_stream_message
Merges a new chunk of message into the previous chunks during streaming. Used to accumulate partial results into a complete Message object.
ms_agent/llm/openai_llm.py:253
↓ 2 callersMethod_normalize_name
(name: str)
projects/fin_research/tools/principle_skill.py:317
↓ 2 callersMethod_parse_json_response
Parse JSON from LLM response with robust extraction.
ms_agent/skill/auto_skills.py:138
↓ 2 callersFunction_parse_note_from_md
Parse a note card from Markdown back to dict. This is a best-effort parser for re-reading stored notes.
projects/deep_research/v2/tools/evidence_tool.py:237
↓ 2 callersMethod_parse_search_result
Parse sirchmunk search result into standard format. Args: result: The raw search result from sirchmunk. score_thresho
ms_agent/knowledge_search/sirchmunk_search.py:364
↓ 2 callersMethod_parse_tool_args
(self, raw: Any)
webui/backend/deep_research_eventizer.py:114
↓ 2 callersMethod_process_docx_image
Process image and add to DOCX document
ms_agent/utils/markdown_converter.py:397
↓ 2 callersMethod_process_markdown_table_fallback
Fallback method to process markdown table syntax directly
ms_agent/utils/markdown_converter.py:328
↓ 2 callersMethod_record_tool_call
(self, call_id: str, tool_name: str, tool_args: Dict[str, Any])
webui/backend/deep_research_eventizer.py:151
↓ 2 callersMethod_remove_claude_tracked_changes
Remove tracked changes authored by Claude from the XML root.
examples/skills/claude_skills/docx/ooxml/scripts/validation/redlining.py:216
↓ 2 callersFunction_render_markdown_html_core
(markdown_content: str, add_permalink: bool = True)
ms_agent/app/fin_research.py:628
↓ 2 callersMethod_render_plan_md_text
(self, plan: Dict[str, Any])
ms_agent/tools/todolist_tool.py:371
↓ 2 callersFunction_report_is_stable
Track whether a report file has been stable (mtime,size) for stable_window_s. Returns: (is_stable, new_last_sig, new_stable_since)
projects/deep_research/v2/eval/dr_bench_runner.py:243
↓ 2 callersMethod_resolve_python_path
Resolve Python module to file path For relative imports (starting with .), resolves them relative to current_dir. For absolute import
ms_agent/utils/parser_utils.py:154
↓ 2 callersMethod_restore_process_result
(result_payload: Dict[str, Any])
ms_agent/tools/agent_tool.py:515
↓ 2 callersFunction_sanitize_user_id
(user_id: str)
ms_agent/app/fin_research.py:173
↓ 2 callersFunction_set_task_log_context
(value: Optional[str])
ms_agent/app/fin_research.py:52
↓ 2 callersMethod_update_config
(config: Union[DictConfig, ListConfig], extra: Dict[str, str] = None)
ms_agent/config/config.py:140
↓ 2 callersMethod_validate_corpus
Validate and initialize corpus if needed. Args: corpus: Optional new corpus to re-initialize the retriever. Rai
ms_agent/retriever/hybrid_retriever.py:245
↓ 2 callersFunction_validate_priority
(priority: str)
ms_agent/tools/todolist_tool.py:49
↓ 2 callersMethod_validate_single_file_xsd
Validate a single XML file against XSD schema. Returns (is_valid, errors_set).
examples/skills/claude_skills/docx/ooxml/scripts/validation/base.py:827
← previousnext →201–300 of 2,117, ranked by callers