Science & Education
F = |q|·v·B·sinθ on a moving charge, with charge units down to elementary charges, speed and field selectors, and the v × B direction flipped for negative charges.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/magnetic-force-charge' \
-H 'Content-Type: application/json' \
-d '{"q":1,"qUnit":"C","v":1,"vUnit":"m/s","b":1,"bUnit":"T","angleDeg":90}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST http://127.0.0.1:3003/en/api/tools/magnetic-force-charge| Name | Type | Required | Description |
|---|---|---|---|
| q | number | Yes | — |
| qUnit | select | Yes | — |
| v | number | Yes | — |
| vUnit | select | Yes | — |
| b | number | Yes | — |
| bUnit | select |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-magnetic-force-charge": {
"name": "magnetic-force-charge",
"description": "F = |q|·v·B·sinθ on a moving charge, with charge units down to elementary charges, speed and field selectors, and the v × B direction flipped for negative charges.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=magnetic-force-charge",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "magnetic-force-charge",
"arguments": {
"q": 1,
"qUnit": "C",
"v": 1,
"vUnit": "m/s",
"b": 1,
"bUnit": "T",
"angleDeg": 90
}
}
}Questions or issues? Contact [email protected]
| Yes |
| — |
| angleDeg | number | Yes | — |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}