William Easton commited on
Commit
d809841
·
unverified ·
1 Parent(s): 2b9c479

updated add tool docstring

Browse files
Files changed (1) hide show
  1. src/fastmcp/server/server.py +1 -5
src/fastmcp/server/server.py CHANGED
@@ -490,11 +490,7 @@ class FastMCP(Generic[LifespanResultT]):
490
  with the Context type annotation. See the @tool decorator for examples.
491
 
492
  Args:
493
- fn: The function to register as a tool
494
- name: Optional name for the tool (defaults to function name)
495
- description: Optional description of what the tool does
496
- tags: Optional set of tags for categorizing the tool
497
- annotations: Optional annotations about the tool's behavior
498
  """
499
  self._tool_manager.add_tool(tool)
500
  self._cache.clear()
 
490
  with the Context type annotation. See the @tool decorator for examples.
491
 
492
  Args:
493
+ tool: The Tool instance to register
 
 
 
 
494
  """
495
  self._tool_manager.add_tool(tool)
496
  self._cache.clear()