MCPcopy Create free account
hub / github.com/Noumena-Network/code / isReadOnly

Function isReadOnly

src/tools/RemoteTriggerTool/RemoteTriggerTool.ts:63–65  ·  view source on GitHub ↗
(input: Input)

Source from the content-addressed store, hash-verified

61 return true
62 },
63 isReadOnly(input: Input) {
64 return input.action === 'list' || input.action === 'get'
65 },
66 toAutoClassifierInput(input: Input) {
67 return `RemoteTrigger ${input.action}${input.trigger_id ? ` ${input.trigger_id}` : ''}`
68 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected