MCPcopy Index your code
hub / github.com/huggingface/ml-intern / _error

Function _error

agent/tools/papers_tool.py:496–502  ·  view source on GitHub ↗
(message: str)

Source from the content-addressed store, hash-verified

494
495
496def _error(message: str) -> ToolResult:
497 return {
498 "formatted": message,
499 "totalResults": 0,
500 "resultsShared": 0,
501 "isError": True,
502 }
503
504
505def _validate_arxiv_id(args: dict) -> str | None:

Callers 10

_op_searchFunction · 0.85
_op_paper_detailsFunction · 0.85
_op_read_paperFunction · 0.85
_op_citation_graphFunction · 0.85
_op_find_datasetsFunction · 0.85
_op_find_modelsFunction · 0.85
_op_find_collectionsFunction · 0.85
_op_find_all_resourcesFunction · 0.85
_op_snippet_searchFunction · 0.85
_op_recommendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected