Preview: SendMock has no stable release yet. These docs follow develop.

MCP reference

Seed tools

sendmock_seed_apply

Apply a seed file; 422 with the errors when it is invalid.

Toolset admin.

    InputTypeDescription
    seed_tomlrequiredstring
    The seed file's text (sendmock.seed.toml).Example: [[numbers]] number = "+15550001111" label = "Support line"

    Example call

    {
      "name": "sendmock_seed_apply",
      "arguments": {
        "seed_toml": "[[numbers]]\nnumber = \"+15550001111\"\nlabel = \"Support line\""
      }
    }

    Result: SeedValidation

    API
    POST/api/v1/seed/apply
    CLI
    sendmock seed apply <file>
    In the app
    Settings > Seed > Apply a seed file

    sendmock_seed_export

    The current configuration as sendmock.seed.toml.

    Toolset admin.

    • Read only

    No inputs.

    Example call

    {
      "name": "sendmock_seed_export",
      "arguments": {}
    }

    Result: file (application/toml)

    API
    GET/api/v1/seed/export
    CLI
    sendmock seed export
    In the app
    Settings > Seed > Export sendmock.seed.toml

    sendmock_seed_status

    Whether a seed file is loaded and when it was applied.

    Toolset admin.

    • Read only

    No inputs.

    Example call

    {
      "name": "sendmock_seed_status",
      "arguments": {}
    }

    Result: SeedStatus

    API
    GET/api/v1/seed/status
    CLI
    sendmock seed status
    In the app
    Settings > Seed

    sendmock_seed_validate

    Check a seed file without applying it.

    Toolset admin.

    • Read only
    InputTypeDescription
    seed_tomlrequiredstring
    The seed file's text (sendmock.seed.toml).Example: [[numbers]] number = "+15550001111" label = "Support line"

    Example call

    {
      "name": "sendmock_seed_validate",
      "arguments": {
        "seed_toml": "[[numbers]]\nnumber = \"+15550001111\"\nlabel = \"Support line\""
      }
    }

    Result: SeedValidation

    API
    POST/api/v1/seed/validate
    CLI
    sendmock seed validate <file>
    In the app
    Settings > Seed > Validate