Factor Expression
factor_expressionFactor any mathematical expression or integer into irreducible components, simplifying equations and revealing structure. Provide an expression like 'x^2 - 1' or '60' to get the factored form.
Instructions
Factor a mathematical expression or integer
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"expression": "<expression>"
},
"name": "factor_expression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | Workspace to use, as a name or a portable handle. Workspaces have independent variables. A name is scoped to this MCP session; a handle returned by start_sage_session (workspace_token) reaches the same workspace across reconnects and is a bearer credential -- keep it secret. Omit for 'default'. | default |
| expression | Yes | Expression to factor (e.g., 'x^2 - 1' or '60') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||