xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
Tool Skill
Clear Thought logo

Reset Session

reset_session

Reset thought history and branches for a specific session or all sessions. Use this tool to clear accumulated state when: - Starting a new unrelated reasoning task - Cleaning up after completing a reasoning session - Preventing state pollution between different tasks - Managing memory in long-running server instances If sessionId is provided, only that specific session is reset. If sessionId is omitted, ALL sessions are reset (use with caution).

$0.01/call
Flat rate
Clear Thought
Raw SKILL.mdTool Page

When to Use

Use this tool when you need to reset thought history and branches for a specific session or all sessions.

use this tool to clear accumulated state when:

  • starting a new unrelated reasoning task
  • cleaning up after completing a reasoning session
  • preventing state pollution between different tasks
  • managing memory in long-running server instances

if sessionid is provided, only that specific session is reset. if sessionid is omitted, all sessions are reset (use with caution).. This is part of the Clear Thought provider on xpay✦.

MCP Connection

Connect to xpay✦ to access this tool (and 1+ others):

{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}

For Claude Code:

claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"

How to Execute

Use the xpay✦ meta-tools to run this tool:

  1. xpay_details — Get full input schema: xpay_details("clear-thought/reset_session")
  2. xpay_run — Execute: xpay_run("clear-thought/reset_session", { ...inputs })

Input Parameters

ParameterTypeRequiredDescription
sessionIdstringNoOptional session identifier to reset. If not provided, resets ALL sessions.

Pricing

  • Cost: $0.01/call
  • Balance check: Use xpay_balance to check remaining credits
  • Get your API key at xpay.tools — $5 free credits included

Related Skills

  • Clear Thought (all tools) — 2 tools
  • Clear Thought — $0.01/call

Links

  • Tool page: https://xpay.tools/clear-thought/reset-session/
  • Provider: https://xpay.tools/clear-thought/
  • All tools: https://xpay.tools/explore
How to Execute
// 1. Get full schema
xpay_details("clear-thought/reset_session")
// 2. Execute
xpay_run("clear-thought/reset_session", { ...inputs })
Input Parameters
ParameterTypeRequiredDescription

sessionId

stringNo

Optional session identifier to reset. If not provided, resets ALL sessions.

Related Tools from Clear Thought
Clear Thought — $0.01
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/clear-thought/reset-session/SKILL.md
CLI
npx @xpaysh/cli install clear-thought/reset-session
Manual
curl -o SKILL.md https://xpay.tools/skills/clear-thought/reset-session/SKILL.md
Pricing

Cost

$0.01/call

Model

Flat rate

Provider

Clear Thought

xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service