Can someone tell me what im doing wrong with this custom tool? I am trying to test out using default variables like {{now}} / {{time}} in a custom tool / api request and every time it just sends the value as the literal variable string (ie "{{now}}" sent in the body of the request). I thought these default variables were available for use automatically. I am testing the custom tool just by creating it and giving the agent access to it, its not running through a workflow
{
"id": "920df267-9da2-4e5e-bd2d-a0ccc2c079b7",
"createdAt": "2025-10-09T05:48:52.518Z",
"updatedAt": "2025-10-09T14:19:31.238Z",
"type": "function",
"function": {
"name": "test-tool",
"strict": true,
"description": "Use this tool to test",
"parameters": {
"type": "object",
"properties": {
"time": {
"description": "Current time",
"type": "string",
"default": "{{now}}"
},
"random": {
"description": "Make up a random number between 1 and 10",
"type": "number",
"default": ""
}
},
"required": [
"time",
"random"
]
}
},
"messages": [
{
"type": "request-start",
"blocking": false
}
],
"orgId": "9c0ba0c9-2c50-4a99-89da-7582f7794797",
"server": {
"url": "https://n8nhooks.********.com/webhook/test"
}
}
FYI this is being tested on an incoming call