← All procedures

client.not

Logical NOT

MCPCLIbrowser
Package
@procedures/client · README
Path
["client","not"]
CLI
mark client not
MCP tool
client.not on the dev-tools server
As data
{"$proc":["client","not"],"input":{}}
Tags
core, logic

Try it in the Composer →

Use it

In TypeScript

import { Client, LocalTransport, PROCEDURE_REGISTRY, allCoreProcedures } from "@procedures/client";

for (const procedure of allCoreProcedures) {
  if (!PROCEDURE_REGISTRY.has(procedure.path)) PROCEDURE_REGISTRY.register(procedure);
}

const client = new Client(new LocalTransport({ registry: PROCEDURE_REGISTRY }));
const result = await client.exec(["client","not"], { value: "<value>" });
console.log(JSON.stringify(result));

From the command line

$ mark client not

As data, in a program

{ "$proc": ["client", "not"], "input": { "value": "<value>" } }

Input

FieldTypeRequired
valueunknownyes

Output

The schema does not list fields (boolean).

JSON Schemas
{
  "input": {
    "type": "object",
    "properties": {
      "value": {
        "description": "The value or call to negate"
      }
    },
    "additionalProperties": {}
  },
  "output": {
    "type": "boolean",
    "description": "The negated truth value"
  }
}