Skip to main content
Glama

workflowy_delete_node

Remove a WorkFlowy node and all its child elements from your outline to maintain organized task management and hierarchical structure.

Instructions

Delete a WorkFlowy node and all its children

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_idYes

Implementation Reference

  • MCP tool handler and registration for workflowy_delete_node. Calls WorkFlowyClient.delete_node with rate limiting.
    @mcp.tool(name="workflowy_delete_node", description="Delete a WorkFlowy node and all its children") async def delete_node(node_id: str) -> dict: """Delete a WorkFlowy node and all its children. Args: node_id: The ID of the node to delete Returns: Dictionary with success status """ client = get_client() if _rate_limiter: await _rate_limiter.acquire() try: success = await client.delete_node(node_id) if _rate_limiter: _rate_limiter.on_success() return {"success": success, "deleted_id": node_id} except Exception as e: if _rate_limiter and hasattr(e, "__class__") and e.__class__.__name__ == "RateLimitError": _rate_limiter.on_rate_limit(getattr(e, "retry_after", None)) raise
  • Tool registration decorator defining the tool name and description.
    @mcp.tool(name="workflowy_delete_node", description="Delete a WorkFlowy node and all its children") async def delete_node(node_id: str) -> dict:
  • Contract test verifying the tool schema: input node_id: str (required).
    assert "workflowy_delete_node" in tools tool = tools["workflowy_delete_node"] assert tool.name == "workflowy_delete_node" assert tool.description is not None # Check parameters params = tool.parameters assert params["type"] == "object"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/daniel347x/workflowy-mcp-fixed'

If you have feedback or need assistance with the MCP directory API, please join our Discord server