Resources — 04

Code Examples

What the SimSense MCP tool calls look like under the hood. Useful if you're building on top of the API or integrating SimSense into your own tooling.

Claude generates these tool calls automatically when you ask it to interact with SimSense. You don't need to write them manually — but understanding the structure helps when debugging or building custom integrations.

Create a sim MCP tool call
{
  "tool": "create_sim",
  "input": {
    "name": "My Dashboard",
    "html": "<!DOCTYPE html>\n<html>...</html>",
    "visibility": "private"
  }
}
Assign to a device MCP tool call
{
  "tool": "assign_device",
  "input": {
    "sim_id": "sim_abc123",
    "device_id": "dev_xyz789"
  }
}
Update sim content MCP tool call
{
  "tool": "update_sim",
  "input": {
    "sim_id": "sim_abc123",
    "html": "<!DOCTYPE html>\n<html>...updated...</html>"
  }
}
List all sims MCP tool call
{
  "tool": "list_sims",
  "input": {}
}
Unassign a device MCP tool call
{
  "tool": "unassign_device",
  "input": {
    "device_id": "dev_xyz789"
  }
}
Delete a sim MCP tool call
{
  "tool": "delete_sim",
  "input": {
    "sim_id": "sim_abc123"
  }
}
Coming soon

Full API reference, webhook support, and SDK documentation are in progress. The MCP server spec is also being published as an open standard — watch this space.

Join Discord to stay updated →