derivation_export_for_sympy
Export current derivation state to SymPy-MCP, including variables, expression, and next-step suggestions for advanced symbolic computation.
Instructions
導出當前推導狀態給 SymPy-MCP
═══════════════════════════════════════════════════════════════════════
🔄 HANDOFF 機制 - 當 NSForge 無法處理時,交給 SymPy-MCP!
═══════════════════════════════════════════════════════════════════════
使用時機:
- 需要解 ODE/PDE
- 需要矩陣運算
- 需要複雜的 SymPy 操作(如 limit, series, dsolve)
- NSForge 工具返回錯誤時
這個工具會輸出:
1. 所有已定義的變數(可直接貼到 intro_many)
2. 當前表達式(可直接貼到 introduce_expression)
3. 建議的下一步操作
Returns:
包含可直接使用的 SymPy-MCP 指令
Example:
# NSForge 中遇到無法處理的操作
derivation_export_for_sympy()
→ {
"intro_many_command": "intro_many(['k', 'T', 'Ea', 'R'], 'real positive')",
"current_expression": "k * exp(-Ea/(R*T))",
"suggested_actions": [...]
}
# 然後在 SymPy-MCP 中執行
intro_many(['k', 'T', 'Ea', 'R'], 'real positive')
introduce_expression("k * exp(-Ea/(R*T))", "arrhenius")
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "derivation_export_for_sympy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | ||
| include_variables | No | ||
| include_current_expression | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||