client.constant
Return a constant value
MCPCLIbrowser- Package
- @procedures/client · README
- Path
["client","constant"]- CLI
mark client constant- MCP tool
client.constanton thedev-toolsserver- As data
{"$proc":["client","constant"],"input":{}}- Tags
- core, utility
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","constant"], { value: "<value>" });
console.log(JSON.stringify(result));From the command line
$ mark client constant
As data, in a program
{ "$proc": ["client", "constant"], "input": { "value": "<value>" } }Input
| Field | Type | Required |
|---|---|---|
value | unknown | yes |
Output
The schema does not list fields (any).
JSON Schemas
{
"input": {
"type": "object",
"properties": {
"value": {
"description": "The value"
}
},
"additionalProperties": {}
},
"output": {
"description": "The constant value"
}
}